[chore/performance] Reuse Intl.DateTimeFormat for formatting times (#4013)

This commit is contained in:
tobi 2025-04-15 10:04:47 +02:00 committed by GitHub
commit 5b2fe1f9a0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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 -}}