Skip to content

Conversation

@adamchainz
Copy link

Python 3.12 deprecated datetime.utcnow() in favour of `datetime.now(timezone.utc): https://docs.python.org/3/library/datetime.html#datetime.datetime.utcnow . This PR updates the timestamp calculation in a backwards-compatible way to avoid the deprecation warning.

Python 3.12 deprecated datetime.utcnow() in favour of `datetime.now(timezone.utc): https://docs.python.org/3/library/datetime.html#datetime.datetime.utcnow . This PR updates the timestamp calculation in a backwards-compatible way to avoid the deprecation warning.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant