From 9cf8d7f3ab5b07dfed94bbf24fbd3b414270b2d9 Mon Sep 17 00:00:00 2001 From: Camille Moussu <66134347+Eriikah@users.noreply.github.com> Date: Thu, 5 Feb 2026 11:30:01 +0100 Subject: [PATCH] [#494] switched UTC offset and timeZone name in timezone selector (#513) --- __test__/features/Settings/SettingsPage.test.tsx | 2 +- src/components/Timezone/TimezoneAutocomplete.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/__test__/features/Settings/SettingsPage.test.tsx b/__test__/features/Settings/SettingsPage.test.tsx index cff4514..5361462 100644 --- a/__test__/features/Settings/SettingsPage.test.tsx +++ b/__test__/features/Settings/SettingsPage.test.tsx @@ -611,7 +611,7 @@ describe("SettingsPage", () => { renderWithProviders(, stateWithoutTimeZone); - const timezoneInput = screen.getByDisplayValue("(UTC) UTC"); + const timezoneInput = screen.getByDisplayValue("UTC (UTC)"); expect(timezoneInput).toBeDefined(); }); diff --git a/src/components/Timezone/TimezoneAutocomplete.tsx b/src/components/Timezone/TimezoneAutocomplete.tsx index 64638c9..7a98408 100644 --- a/src/components/Timezone/TimezoneAutocomplete.tsx +++ b/src/components/Timezone/TimezoneAutocomplete.tsx @@ -60,7 +60,7 @@ export function TimezoneAutocomplete({ } }} options={options} - getOptionLabel={(option) => `(${option.offset}) ${option.label}`} + getOptionLabel={(option) => `${option.label} (${option.offset})`} size={size} sx={width ? { width } : undefined} disableClearable={disableClearable}