diff options
Diffstat (limited to 'templates/repo/issue/milestone_issues.tmpl')
-rw-r--r-- | templates/repo/issue/milestone_issues.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/issue/milestone_issues.tmpl b/templates/repo/issue/milestone_issues.tmpl index 4ac8977e66..9d5da13b5d 100644 --- a/templates/repo/issue/milestone_issues.tmpl +++ b/templates/repo/issue/milestone_issues.tmpl @@ -29,7 +29,7 @@ <progress class="milestone-progress-big" value="{{.Milestone.Completeness}}" max="100"></progress> <div class="gt-df gt-gap-4"> <div classs="gt-df gt-ac"> - {{$closedDate:= TimeSinceUnix .Milestone.ClosedDateUnix $.locale}} + {{$closedDate:= TimeSinceUnix .Milestone.ClosedDateUnix ctx.Locale}} {{if .IsClosed}} {{svg "octicon-clock"}} {{ctx.Locale.Tr "repo.milestones.closed" $closedDate | Safe}} {{else}} |