瀏覽代碼

Merge branch 'master' of github.com:gogits/gogs into dev

Unknwon 10 年之前
父節點
當前提交
b162e565b3
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      templates/repo/release/list.tmpl

+ 1 - 1
templates/repo/release/list.tmpl

@@ -29,7 +29,7 @@
                     <p class="info">
                         <span class="author"><img class="avatar" src="{{.Publisher.AvatarLink}}" alt="" width="20">&nbsp;&nbsp;
                         <a href="/user/{{.Publisher.Name}}">{{.Publisher.Name}}</a></span>
-                        {{if .Created}}<span class="time">{{TimeSince .Created}}</span>{{end}}
+                        {{if .Created}}<span class="time">{{TimeSince .Created $.Lang}}</span>{{end}}
                         <span class="ahead"><strong>{{.NumCommitsBehind}}</strong> commits to {{.Target}} since this release</span>
                     </p>
                     <div class="markdown desc">