Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FR: Add support for time_bucket offset and origin parameters #24

Open
draisbeck opened this issue Sep 1, 2021 · 2 comments
Open

FR: Add support for time_bucket offset and origin parameters #24

draisbeck opened this issue Sep 1, 2021 · 2 comments

Comments

@draisbeck
Copy link

draisbeck commented Sep 1, 2021

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/

@nedamoeini1370
Copy link

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
Copy link

vnkx commented Oct 28, 2022

+1. I need this as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants