add changes from #32383 #32409

This commit is contained in:
yp05327 2024-11-07 04:26:27 +00:00
parent cbb7426478
commit 56dd03417b
1 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@
{{if .Repository.ArchivedUnix.IsZero}} {{if .Repository.ArchivedUnix.IsZero}}
{{ctx.Locale.Tr "repo.archive.title"}} {{ctx.Locale.Tr "repo.archive.title"}}
{{else}} {{else}}
{{ctx.Locale.Tr "repo.archive.title_date" (DateTime "long" .Repository.ArchivedUnix)}} {{ctx.Locale.Tr "repo.archive.title_date" (DateUtils.AbsoluteLong .Repository.ArchivedUnix)}}
{{end}} {{end}}
</div> </div>
{{end}} {{end}}
@ -159,7 +159,7 @@
</div> </div>
</div> </div>
<div class="flex-item-body"> <div class="flex-item-body">
<span class="time">{{TimeSinceUnix .LatestRelease.CreatedUnix ctx.Locale}}</span> <span class="time">{{DateUtils.TimeSince .LatestRelease.CreatedUnix}}</span>
</div> </div>
</div> </div>
</div> </div>