ae3e / ae3e-plotly-panel

Plotly panel for Grafana
Apache License 2.0
98 stars 22 forks source link

Timezone selected in the Grafana time picker dropdown UI is not taken into consideration #69

Open jphuart opened 9 months ago

jphuart commented 9 months ago

I'm using a PostgreSQL data source. All datetimes timezoneaware fields are returned as UTC, but the plugin generate a graph converting them to my browser localtime (UTC+1).

If I change the time settings in the Grafana time picker dropdown UI to use another timezone, this has no effects on the display of the queried datetimes.

If I define a specific timezone for the dashboard, this is not taken into consideration. If I define "SET TIME ZONE 'whatever';" into the query, the display of the datetimes will always be my browser localtime.

It would be clearer for my users if the datetime timezone follows the settings of the Grafana time picker dropdown UI.

Thanks a lot