Check timezone initially (#32764)

This commit is contained in:
Will Hunt
2026-03-13 11:50:25 +00:00
committed by GitHub
parent a73335168d
commit 0ca4f8013b
@@ -190,6 +190,9 @@ class LoggedInView extends React.Component<IProps, IState> {
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();