Actions
Idea #20518
openRemove calls to datetime utcnow/utcfromtimestamp
Start date:
Due date:
Story points:
-
Description
These calls don't do what you think and are deprecated in Python 3.12. The preferred way is datetime.datetime.now(tz=datetime.timezone.UTC)
.
Unfortunately http_to_keep
does have a function that takes a utcnow
argument, the value can be updated but not sure what we're going to do about the name. This was added relatively recently so we could maybe get away with a rename if we do it soon.
No data to display
Actions