>>> local = tz.localize(d2)
>>> local.dst()
Traceback (most recent call last):
File "<input>", line 1, in <module>
ValueError: tzinfo.dst() returned 1440; must be in -1439 .. 1439
and strftime:
>>> local.strftime('%H:%M')
Traceback (most recent call last):
File "<input>", line 1, in <module>
ValueError: tzinfo.dst() returned 1440; must be in -1439 .. 1439
It affects python's datetime.dst method:
>>> local = tz.localize(d2)
>>> local.dst()
Traceback (most recent call last):
File "<input>", line 1, in <module>
ValueError: tzinfo.dst() returned 1440; must be in -1439 .. 1439
and strftime: '%H:%M' )
>>> local.strftime(
Traceback (most recent call last):
File "<input>", line 1, in <module>
ValueError: tzinfo.dst() returned 1440; must be in -1439 .. 1439