Skip to content

Show the effective time zone in user details - #502

Merged
Kerrycek merged 1 commit into
mainfrom
codex/explicit-user-timezone
Sep 24, 2026
Merged

Kerrycek merged 1 commit into
mainfrom
codex/explicit-user-timezone

Conversation

@Kerrycek

Copy link
Copy Markdown
Owner

English

The time-zone field in an administrator’s user overview now shows the effective IANA zone, such as Europe/Prague, instead of “Server default” when the account has no preference. It uses the existing validated server-zone fallback and preserves explicitly selected zones. The signed-in administrator’s own zone is not used for the viewed account.

Validation: typecheck, repository lint, 5 existing time-zone unit tests, 6 targeted desktop/mobile Playwright cases with fixture API, and production build. Existing browser coverage checks an unset account viewed by an administrator in Asia/Tokyo and the display after setting UTC. No API writes or stored account preferences are changed by the display fix. Not deployed.

Česky

V detailu uživatele se místo „Výchozí podle serveru“ zobrazí konkrétní pásmo, například Europe/Prague. Pokud účet nemá vlastní volbu, použije se ověřená konfigurace serveru; explicitní nastavení má přednost. Pásmo administrátora se do zobrazovaného účtu nepřenáší.

Ověřeno: typy, lint, 5 existujících unit testů, 6 cílených Playwright případů na desktopu/mobilu s testovacím API a produkční build. Úprava mění pouze zobrazení, nikoli uložené preference nebo API payload. Zatím nenasazeno.

Resolve an unset user preference through the configured server zone so
admins see a concrete IANA zone instead of a generic default label.
Preserve explicit preferences and account editing behavior.
@Kerrycek
Kerrycek merged commit d101206 into main Sep 24, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant