influxdata / flux

Flux is a lightweight scripting language for querying databases (like InfluxDB) and working with data. It's part of InfluxDB 1.7 and 2.0, but can be run independently of those.
https://influxdata.com
MIT License
760 stars 152 forks source link

Month durations are more calendar-centric #1556

Closed aanthony1243 closed 2 days ago

aanthony1243 commented 4 years ago

currently the flux duration value 1mo is equal to 365.25 / 12 / 7 weeks. Consider an expression like now() - 1mo should be calendar-centric as in if now() is March 3, now() - 1mo should be February 3

aanthony1243 commented 4 years ago

as discussed in https://github.com/influxdata/influxdb/issues/3991

github-actions[bot] commented 1 week ago

This issue has had no recent activity and will be closed soon.