aboutsummaryrefslogtreecommitdiffstats
path: root/templates/repo/issue/milestones.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/repo/issue/milestones.tmpl')
-rw-r--r--templates/repo/issue/milestones.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/issue/milestones.tmpl b/templates/repo/issue/milestones.tmpl
index 3703301e19..de52bd42f0 100644
--- a/templates/repo/issue/milestones.tmpl
+++ b/templates/repo/issue/milestones.tmpl
@@ -50,7 +50,7 @@
</div>
</div>
<div class="meta">
- {{ $closedDate:= TimeSince .ClosedDate $.Lang }}
+ {{ $closedDate:= TimeSinceUnix .ClosedDateUnix $.Lang }}
{{if .IsClosed}}
<span class="octicon octicon-clock"></span> {{$.i18n.Tr "repo.milestones.closed" $closedDate|Str2html}}
{{else}}