Merge pull request 'fix: use DateUtils for blocked users list' (#6410) from gusted/forgejo-datetime into forgejo

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6410
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
This commit is contained in:
Gusted 2024-12-30 10:54:00 +00:00
commit de4053db83

View file

@ -9,7 +9,7 @@
{{template "shared/user/name" .}}
</div>
<div class="flex-item-body">
<span>{{ctx.Locale.Tr "settings.blocked_since" (DateTime "short" .CreatedUnix)}}</span>
<span>{{ctx.Locale.Tr "settings.blocked_since" (DateUtils.AbsoluteShort .CreatedUnix)}}</span>
</div>
</div>
<div class="flex-item-trailing">