OpenSearch-Dashboards icon indicating copy to clipboard operation
OpenSearch-Dashboards copied to clipboard

[BUG] Setting dateFormat:tz to "Browser" in uiSettings.overrides causes errors

Open cameronattard opened this issue 5 months ago • 0 comments
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:

  1. Set dateFormat:tz to "Browser" in uiSettings.overrides
  2. 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

cameronattard avatar Jun 19 '25 00:06 cameronattard