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 utcnow deprecation for python3.12 #562

Merged

Conversation

synapticarbors
Copy link
Contributor

Python 3.12 deprecates datetime.datetime.utcnow and datetime.datetime.utcfromtimestamp:
https://docs.python.org/3/library/datetime.html#datetime.datetime.utcnow

This PR makes the recommended change that is compatible with pre-python 3.12 versions.

@liampauling liampauling changed the base branch from master to release/2.20.0 March 11, 2024 09:25
@liampauling liampauling merged commit 6e72799 into betcode-org:release/2.20.0 Mar 11, 2024
9 checks passed
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