jamessewell/django-timescaledb

FR: Add support for time_bucket offset and origin parameters

Opened this issue · 2 comments

The time_bucket function by default operates in UTC time - which has implications if you're attempting to to do daily time buckets with data from a specific timezone.

Per the timescale docs, the best way to adjust for this is with the the offset or origin parameters to the time_bucket function.

Relevant Doc: https://docs.timescale.com/api/latest/hyperfunctions/time_bucket/

Hi @schlunsen, Is it possible to merge these changes to main. I really need this feature and I'd appreciate if you could do it.

vnkx commented

+1. I need this as well.