aboutsummaryrefslogtreecommitdiffstats
path: root/templates/repo/activity.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/repo/activity.tmpl')
-rw-r--r--templates/repo/activity.tmpl12
1 files changed, 6 insertions, 6 deletions
diff --git a/templates/repo/activity.tmpl b/templates/repo/activity.tmpl
index eb761ff492..cd528582fb 100644
--- a/templates/repo/activity.tmpl
+++ b/templates/repo/activity.tmpl
@@ -86,7 +86,7 @@
{{if not .IsTag}}
<a class="title has-emoji" href="{{$.Repository.HTMLURL}}/src/{{.TagName}}">{{.Title}}</a>
{{end}}
- {{TimeSince .Created $.Lang}}
+ {{TimeSinceUnix .CreatedUnix $.Lang}}
</p>
{{end}}
</div>
@@ -102,7 +102,7 @@
<p class="desc">
<div class="ui purple label">{{$.i18n.Tr "repo.activity.merged_prs_label"}}</div>
#{{.Index}} <a class="title has-emoji" href="{{$.Repository.HTMLURL}}/pulls/{{.Index}}">{{.Issue.Title}}</a>
- {{TimeSince .Merged $.Lang}}
+ {{TimeSinceUnix .MergedUnix $.Lang}}
</p>
{{end}}
</div>
@@ -118,7 +118,7 @@
<p class="desc">
<div class="ui green label">{{$.i18n.Tr "repo.activity.opened_prs_label"}}</div>
#{{.Index}} <a class="title has-emoji" href="{{$.Repository.HTMLURL}}/pulls/{{.Index}}">{{.Issue.Title}}</a>
- {{TimeSince .Issue.Created $.Lang}}
+ {{TimeSinceUnix .Issue.CreatedUnix $.Lang}}
</p>
{{end}}
</div>
@@ -134,7 +134,7 @@
<p class="desc">
<div class="ui red label">{{$.i18n.Tr "repo.activity.closed_issue_label"}}</div>
#{{.Index}} <a class="title has-emoji" href="{{$.Repository.HTMLURL}}/issues/{{.Index}}">{{.Title}}</a>
- {{TimeSince .Updated $.Lang}}
+ {{TimeSinceUnix .UpdatedUnix $.Lang}}
</p>
{{end}}
</div>
@@ -150,7 +150,7 @@
<p class="desc">
<div class="ui green label">{{$.i18n.Tr "repo.activity.new_issue_label"}}</div>
#{{.Index}} <a class="title has-emoji" href="{{$.Repository.HTMLURL}}/issues/{{.Index}}">{{.Title}}</a>
- {{TimeSince .Created $.Lang}}
+ {{TimeSinceUnix .CreatedUnix $.Lang}}
</p>
{{end}}
</div>
@@ -174,7 +174,7 @@
{{else}}
<a class="title has-emoji" href="{{$.Repository.HTMLURL}}/issues/{{.Index}}">{{.Title}}</a>
{{end}}
- {{TimeSince .Updated $.Lang}}
+ {{TimeSinceUnix .UpdatedUnix $.Lang}}
</p>
{{end}}
</div>