fix: use DateUtils for blocked users list

- Should've been fixed with #5796 but seems I've overlooked.

(cherry picked from commit 57f7253610)
This commit is contained in:
Gusted 2024-12-29 23:50:48 +01:00 committed by forgejo-backport-action
parent 1a64ae1dc4
commit 38f058a5f0

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">