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

Clean up test and models #9

Merged
merged 6 commits into from
Aug 19, 2024
Merged

Clean up test and models #9

merged 6 commits into from
Aug 19, 2024

Conversation

justinvasel
Copy link
Collaborator

No description provided.

Move logic into a standalone model function that can be called by the user.
This replaces logic where tz-aware datetimes simply had tzinfo removed, and assumed to be UTC.

Now, if a user provides a tz-aware datetime which is not UTC, it will first instead be converted to UTC.
@justinvasel justinvasel merged commit f29646d into main Aug 19, 2024
4 checks passed
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

Successfully merging this pull request may close these issues.

1 participant