Comment 1 for bug 885163

Revision history for this message
Ilya Novoselov (ilya-novoselov) wrote :

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:
>>> 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