OpenSearch-Dashboards
OpenSearch-Dashboards copied to clipboard
[BUG] Setting dateFormat:tz to "Browser" in uiSettings.overrides causes errors
trafficstars
Describe the bug
I'm trying to lock down the dateFormat:tz setting in the uiSettings.overrides like so:
uiSettings:
overrides:
"dateFormat:tz": Browser
However when I do this I get the following error in the Discover page:
zone_rules_exception
Unknown time-zone ID: Browser
fetchResponse@https://opensearch.redacted.com/8420/bundles/core/core.entry.js:15:411759
To Reproduce Steps to reproduce the behavior:
- Set dateFormat:tz to "Browser" in uiSettings.overrides
- Open "Discover"
Expected behavior OSD should use the browser's timezone without throwing errors.
OpenSearch Version 2.19
Dashboards Version 2.19.2
Plugins
N/A
Screenshots
N/A
Host/Environment (please complete the following information): N/A
Additional context
I believe this issue also occurred in Kibana - https://github.com/elastic/kibana/issues/220644