From 0ca4f8013bcb40db61504f614539fa192810a269 Mon Sep 17 00:00:00 2001 From: Will Hunt <2072976+Half-Shot@users.noreply.github.com> Date: Fri, 13 Mar 2026 11:50:25 +0000 Subject: [PATCH] Check timezone initially (#32764) --- apps/web/src/components/structures/LoggedInView.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apps/web/src/components/structures/LoggedInView.tsx b/apps/web/src/components/structures/LoggedInView.tsx index 49cabc44e3..0e084d5644 100644 --- a/apps/web/src/components/structures/LoggedInView.tsx +++ b/apps/web/src/components/structures/LoggedInView.tsx @@ -190,6 +190,9 @@ class LoggedInView extends React.Component { SettingsStore.watchSetting("userTimezonePublish", null, this.onTimezoneUpdate), SettingsStore.watchSetting("userTimezone", null, this.onTimezoneUpdate), ]; + // Call this initially to ensure that we set the correct timezone, if the + // system time has changed between sessions. + void this.onTimezoneUpdate(); this.loadResizer();