2015-03-29, 10:40
Encountered a strange issue here on Android only, Windows and Linux don't have this issue.
If I use time.mktime() with a timestamp that falls into the period where the DST changeover happened in Europe last night (ie. 2015-03-29 2am-3am) the script fails with this error: OverflowError: mktime argument out of range
I've reported it as a bug already and attached a small sample addon to reproduce this issue. The first timestamp is fine (2015-03-29 01:45:00), the second (2015-03-29 02:45:00) fails with the error and the third (2015-03-29 03:45:00) would be fine again.
Here's the trac bug: http://trac.kodi.tv/ticket/15888
Anyone seen this before? Is there a workaround!?
If I use time.mktime() with a timestamp that falls into the period where the DST changeover happened in Europe last night (ie. 2015-03-29 2am-3am) the script fails with this error: OverflowError: mktime argument out of range
I've reported it as a bug already and attached a small sample addon to reproduce this issue. The first timestamp is fine (2015-03-29 01:45:00), the second (2015-03-29 02:45:00) fails with the error and the third (2015-03-29 03:45:00) would be fine again.
Here's the trac bug: http://trac.kodi.tv/ticket/15888
Anyone seen this before? Is there a workaround!?