[New-bugs-announce] [issue44663] Possible bug in datetime utc

Gabriel Costa report at bugs.python.org
Sat Jul 17 17:20:17 EDT 2021


New submission from Gabriel Costa <gabrielsantos.ghsc at gmail.com>:

>>> datetime.now(timezone.utc).timestamp()
1626556067.054988
>>> datetime.utcnow().timestamp()
1626566875.174921

Should there be a difference between the two modes?

----------
components: C API
messages: 397733
nosy: gabhcosta
priority: normal
severity: normal
status: open
title: Possible bug in datetime utc
type: behavior
versions: Python 3.9

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


More information about the New-bugs-announce mailing list