yes but it is a little bit more complicated than that.
I have the same problem each time daylight savings kicks in I need to tweak all my tasks manually.
there is a timeZone Location option as described here:
timezone.location() function | Flux 0.x Documentation (influxdata.com)
But It may not work on your setup… it requires zoneInfo go repository installed more info here: Error while defining location parameter for aggregateWindow - Fluxlang - InfluxData Community Forums
There is not enough information out there about this, I haven’t implemented the solution because I need to restart my InfluxDB service, and I cannot do that until a scheduled shutdown…
but if You happen to be using windows 10 and InfluxDB running as a service using NSSM. I have on my notes right here next to me how to add the zoneInfo repository:
- download zoneinfo.zip to any Dir (preferably the one on which you launch InfluxDB)
- open nssm (navigate to nssm dir and type nssm edit )
- go to Enviroment tab add the dir where you downloaded zoneinfo.zip
- save, exit and restart service.