grafana / scenes

Build Grafana dashboards directly in your Grafana app plugins.
https://grafana.com/developers/scenes
Apache License 2.0
141 stars 21 forks source link

Time range picker: time zone mixup when reading time range from URL #676

Open domasx2 opened 7 months ago

domasx2 commented 7 months ago

To repro, in any scenes app:

  1. Be in a non GMT time zone
  2. Select an absolute time range via picker
  3. Reload page
  4. Open time range picker, see that inputs have utc value offset by your time zone offset
  5. Click apply without modifying anything - selected time shifts by utc offset

Could be related #661

https://github.com/grafana/scenes/assets/847684/f4d998a1-3927-49f1-a47b-ec4f6f1e242e