Message397736
> It looks like the difference one would expect from (fast) human input)
Nope, the timestamps in the original report are about 3 hours apart (10808+ seconds).
Reports like these are often much clearer if they state the timezone of the system they're running on.
Plausible here: as the docs say, `utcnow()` returns a _naive_ datetime - no timezone info is attached.
But `.timestamp()`:
"""
Naive datetime instances are assumed to represent local time
"""
So I _expect_ the results to differ unless the box this is running on uses UTC as its local time.
On my box, in native timezone CDT, the two ways are 5 hours apart, which is indeed CDT's offset from UTC. |
|
Date |
User |
Action |
Args |
2021-07-17 23:41:41 | tim.peters | set | recipients:
+ tim.peters, cryvate, gabhcosta |
2021-07-17 23:41:41 | tim.peters | set | messageid: <1626565301.23.0.809107631349.issue44663@roundup.psfhosted.org> |
2021-07-17 23:41:41 | tim.peters | link | issue44663 messages |
2021-07-17 23:41:40 | tim.peters | create | |
|