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

Remove all uses of utcfromtimestamp #3236

Merged
merged 1 commit into from
Mar 25, 2025
Merged

Remove all uses of utcfromtimestamp #3236

merged 1 commit into from
Mar 25, 2025

Conversation

amCap1712
Copy link
Member

utcfromtimestamp is deprecated, replace with datetime.fromtimestamp(timestamp, timezone.utc). Note that the former returns naive datetime objects whereas the latter returns timezone aware objects.

utcfromtimestamp is deprecated, replace with datetime.fromtimestamp(timestamp, timezone.utc).
Note that the former returns naive datetime objects whereas the latter returns timezone aware
objects.
@amCap1712 amCap1712 merged commit a4c00ba into master Mar 25, 2025
2 checks passed
@amCap1712 amCap1712 deleted the remove-utctimestamp branch March 25, 2025 14:29
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