Open frereit opened 1 month ago
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).
View this failed invocation of the CLA check for more information.
For the most up to date status, view the checks section at the bottom of the pull request.
Use
.fromtimestamp
instead of.utcfromtimestamp
to create a timezone-aware datetime object.Previously, the object was naive.
.utcfromtimestamp
is deprecated because naive datetime objects lead to ambiguity and problems.By using a datetime-aware object, is is clearly signaled to the caller that the datetime is a UTC-timestamp, and it may easily be converted using
.astimezone