Skip to content

q.py: Use timezone-aware objects to represent datetimes in UTC#331

Open
hginzel wants to merge 1 commit intoharelba:masterfrom
hginzel:patch-1
Open

q.py: Use timezone-aware objects to represent datetimes in UTC#331
hginzel wants to merge 1 commit intoharelba:masterfrom
hginzel:patch-1

Conversation

@hginzel
Copy link

@hginzel hginzel commented Apr 22, 2024

q.py:1624: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
now = datetime.datetime.utcnow().isoformat()

Python 3,12

q.py:1624: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
  now = datetime.datetime.utcnow().isoformat()

Python 3,12
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