fix(app): respect time format setting in profile local time (#3018)

This commit is contained in:
Hampus
2026-09-28 17:48:55 +02:00
committed by GitHub
parent fce81367fb
commit a728be4062
@@ -237,6 +237,7 @@ export const UserProfileTimezoneInfo: React.FC<{profile: Profile}> = observer(({
const localTime = getCachedDateTimeFormat(locale, {
hour: 'numeric',
minute: '2-digit',
hour12: DateUtils.shouldUse12HourFormat(locale),
timeZone: 'UTC',
}).format(getDateAtOffset(now, timezoneOffset));
const offsetDifference = timezoneOffset - getViewerOffsetMinutes();