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

[FEA] Support months_between for not UTC time zones #11800

Open
revans2 opened this issue Dec 2, 2024 · 0 comments
Open

[FEA] Support months_between for not UTC time zones #11800

revans2 opened this issue Dec 2, 2024 · 0 comments
Labels
feature request New feature or request

Comments

@revans2
Copy link
Collaborator

revans2 commented Dec 2, 2024

Is your feature request related to a problem? Please describe.
The current implementation of months_between works most of the time for other time zones. But it does not work all of the time. The issue is when calculating the number of seconds into a given day we end up with the wrong answer because there could be a time zone transition between the start date and the timestamp.

Describe the solution you'd like
Some way to calculate the start of a day in a different time zone. I am not 100% sure how to do that. Will need to look into it a little bit more.

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

No branches or pull requests

2 participants