You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
croniter 0.3.5, Python 2.7.8
Consider test case executed on machine with 'Europe/Warsaw' (UTC+1) timezone, change from DST to normal occurs on 2014-10-26 02:59 +2:00 (UTC 00:59) -> 02:00 +1:00 (UTC 01:00):
from datetime import datetime
from croniter import croniter
import pytz
croniter 0.3.5, Python 2.7.8
Consider test case executed on machine with 'Europe/Warsaw' (UTC+1) timezone, change from DST to normal occurs on 2014-10-26 02:59 +2:00 (UTC 00:59) -> 02:00 +1:00 (UTC 01:00):
Using datetime objects:
Before change (naive datetime) - VALID
Before change (UTC datetime) - INVALID
After change (naive datetime) - INVALID
After change (UTC datetime) - INVALID
Using timestamps:
Before change - INVALID
After change - VALID
Despite the fact that timestamps are UTC hardcoded all of test cases give much better results when system timezone is changed to e.g. Fiji UTC+12:00
The text was updated successfully, but these errors were encountered: