[chore/performance] Reuse Intl.DateTimeFormat for formatting times

This commit is contained in:
tobi 2025-04-15 09:44:13 +02:00
commit 7505c27627
2 changed files with 16 additions and 12 deletions

View file

@ -18,7 +18,7 @@
*/ -}}
{{- define "ariaLabel" -}}
@{{ .Account.Acct -}}, {{ .CreatedAt | timestampPrecise -}} (server time)
@{{ .Account.Acct -}}, {{ .CreatedAt | timestampPrecise }} (server time)
{{- if .LanguageTag -}}
, language {{ .LanguageTag.DisplayStr -}}
{{- end -}}