Fix human date on iOS devices (#510)

This commit is contained in:
Thomas Miceli
2025-09-21 04:31:58 +02:00
committed by GitHub
parent c02bf97b63
commit 4106956f6d
14 changed files with 24 additions and 47 deletions

View File

@@ -18,7 +18,7 @@
</div>
<div>
<h1 class="text-2xl font-bold leading-tight">{{.fromUser.Username}}</h1>
<p class="text-sm text-slate-500">{{ .locale.Tr "gist.list.joined" }} <span class="moment-timestamp">{{.fromUser.CreatedAt}}</span></p>
<p class="text-sm text-slate-500">{{ .locale.Tr "gist.list.joined" }} <span>{{.fromUser.CreatedAt | humanTimeDiff}}</span></p>
</div>
</div>
{{ else }}