[Datetime-SIG] PEP 495 (Local Time Disambiguation) is ready for pronouncement
alexander.belopolsky at gmail.com
Sun Aug 16 21:41:00 CEST 2015
On Sun, Aug 16, 2015 at 2:34 PM, Tim Peters <tim.peters at gmail.com> wrote:
> Just noting that the "Guidelines for new tzinfo implementations"
> section uses the term "hour" when discussing DST transitions, which it
> defines as
> hour = timedelta(hours=1)
> The confusion here is that DST adjustments aren't always an hour.
Yes, I was planning to change that to "delta". Note that in the
reference implementation, I added a case using Lord Hope Island time
zone that has a 30 min DST delta. I'll make sure Antarctica/Troll
is supported correctly as well.
> If I were you, I'd leave the text alone, but add a footnote explaining
> that things may need to be adjusted in the obvious ways for timezones
> with oddball DST adjustments and/or more than one kind of DST per
Makes sense. The US-style DST rules are confusing enough that we
probably don't want to complicate the discussion. I'll add a
More information about the Datetime-SIG