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

Fix Python 3.12 deprecation warning in datetime #271

Merged
merged 1 commit into from
Dec 11, 2023
Merged

Fix Python 3.12 deprecation warning in datetime #271

merged 1 commit into from
Dec 11, 2023

Conversation

amureki
Copy link
Contributor

@amureki amureki commented Dec 8, 2023

datetime.datetime.utcnow() is deprecated:
https://docs.python.org/3/whatsnew/3.12.html#deprecated

Copy link

codecov bot commented Dec 8, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (a3c4952) 98.03% compared to head (c9e459d) 98.03%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #271   +/-   ##
=======================================
  Coverage   98.03%   98.03%           
=======================================
  Files           8        8           
  Lines         204      204           
=======================================
  Hits          200      200           
  Misses          4        4           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@codingjoe codingjoe merged commit f8aed30 into codingjoe:main Dec 11, 2023
22 checks passed
@amureki amureki deleted the python-3.12-deprecation-warning branch December 12, 2023 07:39
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