Because your InfluxDB groups per UTC calendar day by default. InfluxDB returns 2022-09-18 00:00:00 timestamp for 2022-09-18 data. Grafana in your browser will move this timestamp to your browser timezone (UTC+2) => 2022-09-18 02:00:00. So it is still the same timestamp, but in different timezone. It is absolutely correct.
Set dashboard timezone to UTC if you want to see 00:00 instead of 02:00.
You can also set timezone offset for timegrouping on the InfluxQL level, but wouldn’t use, because that introduce another problems (e.g. Daylight Saving Time).
Hi @Johan I wonder how you make this work?
When aggregating at “24h” or “1d” the timestamp always starts at 1st day + timeRegion to 2nd day + timeRegion (as you have mention here).
I tried the tz function in the query editor but seems like not working on me.
My grafana is running on Windows OS.