Show the effective time zone in user details - #502
Merged
Merged
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.