0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-24 19:12:51 +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}} {{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>