Skip to content

Commit 729f174

Browse files
committed
Fix time render
1 parent d427910 commit 729f174

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/repo/issue/milestones.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@
8888
{{svg "octicon-check" 16 "gt-mr-3"}}
8989
{{LocaleNumber .NumClosedIssues}} {{$.locale.Tr "repo.issues.closed_title"}}
9090
{{if .TotalTrackedTime}}{{svg "octicon-clock"}} {{.TotalTrackedTime|Sec2Time}}{{end}}
91-
{{if .UpdatedUnix}}{{svg "octicon-clock"}} {{$.locale.Tr "repo.milestones.updated" (TimeSinceUnix .UpdatedUnix $.locale)}}{{end}}
91+
{{if .UpdatedUnix}}{{svg "octicon-clock"}} {{$.locale.Tr "repo.milestones.updated" (TimeSinceUnix .UpdatedUnix $.locale) | Safe}}{{end}}
9292
</span>
9393
</div>
9494
{{if and (or $.CanWriteIssues $.CanWritePulls) (not $.Repository.IsArchived)}}

0 commit comments

Comments
 (0)