I believe the issue with 31 day months is actually more to do with the repeated use of std::mktime especially which the next cron event is so long into the future that the days and months need to be increased past a DST change.
I've added a tm_isdst reset every time the day_of_month or month change to force mktime to reevaluate DST. Seems to work with all existing and new tests.
I believe the issue with 31 day months is actually more to do with the repeated use of std::mktime especially which the next cron event is so long into the future that the days and months need to be increased past a DST change. I've added a tm_isdst reset every time the day_of_month or month change to force mktime to reevaluate DST. Seems to work with all existing and new tests.