Deprecation warning about `datetime.utcfromtimestamp`
Closed this issue · 2 comments
decaz commented
Method datetime.utcfromtimestamp is deprecated since version 3.12:
DeprecationWarning: datetime.datetime.utcfromtimestamp()
is deprecated and scheduled for removal in a future version.
Use timezone-aware objects to represent datetimes in UTC:
datetime.datetime.fromtimestamp(timestamp, datetime.UTC).
It's used here:
Lines 271 to 283 in 8e72f7b
gmr commented
This was released in 3.3.0.
decaz commented
Thanks!