We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cbb7426 commit 56dd034Copy full SHA for 56dd034
templates/repo/home.tmpl
@@ -12,7 +12,7 @@
12
{{if .Repository.ArchivedUnix.IsZero}}
13
{{ctx.Locale.Tr "repo.archive.title"}}
14
{{else}}
15
- {{ctx.Locale.Tr "repo.archive.title_date" (DateTime "long" .Repository.ArchivedUnix)}}
+ {{ctx.Locale.Tr "repo.archive.title_date" (DateUtils.AbsoluteLong .Repository.ArchivedUnix)}}
16
{{end}}
17
</div>
18
@@ -159,7 +159,7 @@
159
160
161
<div class="flex-item-body">
162
- <span class="time">{{TimeSinceUnix .LatestRelease.CreatedUnix ctx.Locale}}</span>
+ <span class="time">{{DateUtils.TimeSince .LatestRelease.CreatedUnix}}</span>
163
164
165
0 commit comments