[issue42025] zoneinfo: wrong time difference across transition when tzinfo is equal

David Grellscheid report at bugs.python.org
Tue Oct 13 05:41:21 EDT 2020


David Grellscheid <d.grellscheid at gmail.com> added the comment:

Here's a third example, without fold= involved. The spring transition also does not work when the timezone in the difference is equal:

01:59:00 to 03:01:00 should be 2 minutes

All these should be 0:02:00 apart
1:02:00 Oslo_1   - Oslo_0
0:02:00 Berlin_1 - Oslo_0
0:02:00 Oslo_1   - Berlin_0
1:02:00 Berlin_1 - Berlin_0

----------
title: zoneinfo: fold not taken into account in time difference when tzinfo is equal -> zoneinfo: wrong time difference across transition when tzinfo is equal
Added file: https://bugs.python.org/file49517/spring_bug.py

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


More information about the Python-bugs-list mailing list