fix invalid tweaking to date string (#8415)

This commit is contained in:
Samuel Newman
2025-10-15 19:00:29 +03:00
committed by GitHub
parent 4788106f32
commit 66ca3e34a4
+1 -4
View File
@@ -56,10 +56,7 @@ function DialogInner({profile}: {profile: bsky.profile.AnyProfileView}) {
const date = new Date()
date.setMinutes(date.getMinutes() + offset)
return i18n
.date(date, {hour: 'numeric', minute: '2-digit', hour12: true})
.toLocaleUpperCase()
.replace(' ', '')
return i18n.date(date, {hour: 'numeric', minute: '2-digit', hour12: true})
},
[tick, i18n],
)