This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author stef
Recipients p-ganssle, stef
Date 2021-10-14.17:10:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1634231445.09.0.835171077103.issue45470@roundup.psfhosted.org>
In-reply-to
Content
sorry it's resolved. it was a timezone issue:

In [2]: d0 = datet.datetime(2016,3,27,tzinfo=datet.timezone.utc)

In [3]: d1 = datet.datetime(2016,3,28,tzinfo=datet.timezone.utc)

In [4]: (d1-d0).total_seconds()/3600
Out[4]: 24.0

In [5]: (d1.timestamp()-d0.timestamp())/3600
Out[5]: 24.0
History
Date User Action Args
2021-10-14 17:10:45stefsetrecipients: + stef, p-ganssle
2021-10-14 17:10:45stefsetmessageid: <1634231445.09.0.835171077103.issue45470@roundup.psfhosted.org>
2021-10-14 17:10:45steflinkissue45470 messages
2021-10-14 17:10:45stefcreate