summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author无闻 <joe2010xtmf@163.com>2014-09-16 07:35:33 -0400
committer无闻 <joe2010xtmf@163.com>2014-09-16 07:35:33 -0400
commit6516ecaa51844a7aa12b2ee275f019826824b416 (patch)
treef7f91eb66ce8f8d892ab68d8af3c3b870c3c8f0a
parent0f037b430a99a10cc9cff6f04dd1cf197ecc04ba (diff)
parentcff3ca23a57230c21e685ab02aab85f07bd25fe2 (diff)
downloadgitea-6516ecaa51844a7aa12b2ee275f019826824b416.tar.gz
gitea-6516ecaa51844a7aa12b2ee275f019826824b416.zip
Merge pull request #473 from j100002ben/master
Fix TimeSince arguments error.
-rw-r--r--templates/repo/release/list.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/release/list.tmpl b/templates/repo/release/list.tmpl
index 0f02508fb9..b9f462588d 100644
--- a/templates/repo/release/list.tmpl
+++ b/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">