You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* MNT: remove no-op
* MNT: use list comprehensions
* MNT: `utcnow()` → `now(tz=timezone.utc)`
https://docs.python.org/3/library/datetime.html#datetime.datetime.utcnow
Because naive datetime objects are treated by many datetime methods as local
times, it is preferred to use aware datetimes to represent times in UTC.
As such, the recommended way to create an object representing the current
time in UTC is by calling datetime.now(timezone.utc).
Deprecated since version 3.12: Use datetime.now() with UTC instead.
Co-authored-by: Chris Markiewicz <[email protected]>
---------
Co-authored-by: Chris Markiewicz <[email protected]>
0 commit comments