-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove use of deprecated
datetime.datetime
methods
The methods `datetime.datetime.utc` and `.utcfromtimestamp` were marked deprecated in Python 3.12 in favour of `now(tz=datetime.timezone.utc)` and `fromtimestamp(tz=datetime.timezone.utc)` [1]. [1]: python/cpython#103857
- Loading branch information
1 parent
363fa3c
commit 0d45488
Showing
3 changed files
with
5 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters