In Grafana, to get the browser timezone is done through moment. moment is not a dependency of Scenes and is not needed, so we're using Intl.
📦 Published PR as canary version: 4.24.3--canary.759.9299159504.0
:sparkles: Test out this PR locally via:
```bash
npm install @grafana/scenes@4.24.3--canary.759.9299159504.0
# or
yarn add @grafana/scenes@4.24.3--canary.759.9299159504.0
```
A bug was reported when resolving
$__timezone
in scenes compared with the behavior in Grafana Dashboards.In Grafana Dashboards, when the browser timezone is selected, the value of the timezone is resolved. For scenes, the value returned is
browser
. This breaks some data sources queries when they use$__timezone
.In Grafana, to get the browser timezone is done through
moment
.moment
is not a dependency of Scenes and is not needed, so we're usingIntl
.📦 Published PR as canary version:
4.24.3--canary.759.9299159504.0
:sparkles: Test out this PR locally via: ```bash npm install @grafana/scenes@4.24.3--canary.759.9299159504.0 # or yarn add @grafana/scenes@4.24.3--canary.759.9299159504.0 ```