release-23.1.0: ui: display configurable timezone in DB Console #102241
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.
Backport 1/1 commits from #101752.
/cc @cockroachdb/release
Release Justification: Unblock Onboarding
This commit makes it so all timestamps displayed in DB Console (with the exception of Advanced Debug pages) use the timezone set by the cluster setting
ui.display_timezone
.Only Coordinated Universal Time and America/New_York are supported. Supporting additional timezones can be achieved by adding more timezones to the enum passed to
ui.display_timezone
when the setting is registered, and modifying the webpack configs to make sure the relevant timezone data is included. See #99848 for more details.Epic: https://cockroachlabs.atlassian.net/browse/CRDB-5536
Release note (ui): Added the ability for users to view timestamps in DB Console in their preferred timezone via the cluster setting
ui.display_timezone
. Currently supported timezones are Coordinated Universal Time and America/New_York.Loom: https://www.loom.com/share/9533173bf68e45f4ac6a09860b04b98a