The pure-Python implementation should give the same result as the C implementation. The last explicit transition in this file moves the offset from UTC−06 to UTC−07 at 2022-11-30 06:00 UTC, so 06:30 UTC is in the fold created by that transition. The incorrect fold=0 causes the UTC round trip to lose an hour.
This depends on where the TZif file switches from explicit transitions to the footer rules, so the reproducer explicitly selects the tzdata package instead of the system database.
Activity