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

Update datetime module as datetime.datetime.utcfromtimestamp() is deprecated #146

Closed
wants to merge 3 commits into from

Conversation

roboes
Copy link
Contributor

@roboes roboes commented Jan 25, 2025

This pull request addresses the deprecation warning related to datetime.datetime.utcfromtimestamp(), which is scheduled for removal in a future version of Python. The utcfromtimestamp() method is replaced with datetime.datetime.fromtimestamp() using datetime.timezone.utc to ensure that the datetime objects are timezone-aware and comply with the updated recommendations in Python's documentation.

@roboes roboes closed this by deleting the head repository Jan 25, 2025
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