diff options
author | wxiaoguang <wxiaoguang@gmail.com> | 2023-09-25 20:42:40 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-25 20:42:40 +0800 |
commit | 93bd4351bfb4a2f5f37ecb80d50496d044240e00 (patch) | |
tree | 4443b001284cf4f4f6932b909b9b70317b2428f7 /templates/repo/issue/milestone_issues.tmpl | |
parent | 7960ba7e2bbe2eb6f98f6d99f2ce105468cdf56e (diff) | |
download | gitea-93bd4351bfb4a2f5f37ecb80d50496d044240e00.tar.gz gitea-93bd4351bfb4a2f5f37ecb80d50496d044240e00.zip |
Fix more "locale" usages (#27259)
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}} |