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

Deserialize to UTC date #17

Merged
merged 1 commit into from
Mar 11, 2024
Merged

Deserialize to UTC date #17

merged 1 commit into from
Mar 11, 2024

Conversation

msinto93
Copy link
Contributor

@msinto93 msinto93 commented Mar 8, 2024

Parse int to to date via a timezone-aware UTC datetime rather than directly using date.fromtimestamp(), as the latter returns a date in the local timezone

…rectly using date.fromtimestamp(), as the latter returns a date in the local timezone
@msinto93 msinto93 requested a review from faph March 8, 2024 18:27
@msinto93 msinto93 merged commit c7a2a6a into main Mar 11, 2024
8 checks passed
@faph faph deleted the feature/utc-date branch March 15, 2024 15:53
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.

2 participants