Closed Luc1412 closed 5 days ago
For future proofing, datetime objects should be aware of their time zone. Especially with the upcoming removal of datetime.utcnow().
datetime.utcnow()
Contrary to expectations, all datetime objects are already timezone aware. Only in rare cases the datetime objects might not be timezone aware. This has been fixed with 1de5717edc7e4445eb1416a696707a718a50f37a.
For future proofing, datetime objects should be aware of their time zone. Especially with the upcoming removal of
datetime.utcnow()
.