aggregateWindow aligned to specified timezone

Given the following query in Influxdb’s Flux language:

from(bucket: "some-great-metrics")
   |> range(start: v.timeRangeStart, stop: v.timeRangeStop)
   |> aggregateWindow(every: 1mo, fn: sum)
   |> yield() 

Assuming my current timezone is PST . How to ensure that aggregateWindow respect the beginning and end of the 1mo duration in this specific timezone ( PST )?

Searching in the documentation does not bring so much light to me, so far.

1 Like

Same here, didn’t find any solution so far. Seems there is an open issue for this: Implement Location option · Issue #406 · influxdata/flux · GitHub

Did you found any workaround?

1 Like