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 d.grellscheid
Recipients d.grellscheid
Date 2020-10-13.09:01:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1602579676.45.0.837169580708.issue42025@roundup.psfhosted.org>
In-reply-to
Content
I'm comparing two aware timestamps during a clock transition that differ only in their fold= value.

When taking the difference of two aware timestamps with the *same* tzinfo, the fold parameter is ignored. 

A difference between two timestamps with different tzinfo works correctly, with fold taken into account.

For the attached code I would expect all timedeltas to be the same, but I get:

0:00:00 Oslo_1   - Oslo_0
1:00:00 Berlin_1 - Oslo_0
1:00:00 Oslo_1   - Berlin_0
0:00:00 Berlin_1 - Berlin_0
History
Date User Action Args
2020-10-13 09:01:16d.grellscheidsetrecipients: + d.grellscheid
2020-10-13 09:01:16d.grellscheidsetmessageid: <1602579676.45.0.837169580708.issue42025@roundup.psfhosted.org>
2020-10-13 09:01:16d.grellscheidlinkissue42025 messages
2020-10-13 09:01:16d.grellscheidcreate