[issue44663] Possible bug in datetime utc

Henk-Jaap Wagenaar report at bugs.python.org
Sat Jul 17 18:29:23 EDT 2021


Henk-Jaap Wagenaar <wagenaarhenkjaap at gmail.com> added the comment:

I don't seem to be able to reproduce this by running this one-liner:

from datetime import datetime, timezone; print(datetime.now(timezone.utc).timestamp()); print(datetime.u
tcnow().timestamp());

on 3.9.5. How did you achieve this? It looks like the difference one would expect from (fast) human input).

----------
nosy: +cryvate

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44663>
_______________________________________


More information about the Python-bugs-list mailing list