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}