Activity log for bug #1170375

Date Who What changed Old value New value Message
2013-04-18 14:41:40 Dzmitry Dzemidzenka bug added bug
2013-04-18 14:46:01 Dzmitry Dzemidzenka description timestamp = ((dt.toordinal() - EPOCHORDINAL) * 86400 + dt.hour * 3600 + dt.minute * 60 + dt.second) return time.localtime(timestamp+time.timezone).tm_isdst The code above is failing because of the overflow on 32bit systems for dates like '2049-06-20T12:34:40+03:00' timestamp = ((dt.toordinal() - EPOCHORDINAL) * 86400                      + dt.hour * 3600                      + dt.minute * 60                      + dt.second)         return time.localtime(timestamp+time.timezone).tm_isdst The code above is failing because of the overflow on 32bit systems for dates like '2049-06-20T12:34:40+03:00' ValueError('timestamp out of range for platform time_t',)