A free and open source instant messaging and VoIP chat app built for friends, groups, and communities.
fix(app): respect time format setting in profile local time (#3018)
Hampusa728be40620d
diff --git a/fluxer_app/src/features/user/components/popouts/UserProfileShared.tsx b/fluxer_app/src/features/user/components/popouts/UserProfileShared.tsxindex d81ba3e78..5c00bb7e5 100644--- a/fluxer_app/src/features/user/components/popouts/UserProfileShared.tsx+++ b/fluxer_app/src/features/user/components/popouts/UserProfileShared.tsx@@ -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();