0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-21 18:13:06 +01:00

add changes from #32383 #32409

This commit is contained in:
yp05327 2024-11-07 04:26:27 +00:00
parent cbb7426478
commit 56dd03417b

View file

@ -12,7 +12,7 @@
{{if .Repository.ArchivedUnix.IsZero}}
{{ctx.Locale.Tr "repo.archive.title"}}
{{else}}
{{ctx.Locale.Tr "repo.archive.title_date" (DateTime "long" .Repository.ArchivedUnix)}}
{{ctx.Locale.Tr "repo.archive.title_date" (DateUtils.AbsoluteLong .Repository.ArchivedUnix)}}
{{end}}
</div>
{{end}}
@ -159,7 +159,7 @@
</div>
</div>
<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>