DST
This release adds robust handling for edge cases caused by local timezone transitions during daylight saving time (DST):
- Forward gaps (non-existent local times): When a state transition (toggle) falls into a missing local time, it is automatically advanced to the next valid local time. For example, when DST starts the clock may jump from
01:59to03:00. If a toggle should be at02:30, it will be adjusted to03:00. - Fall-back ambiguity (repeated local times): When a toggle occurs during a repeated hour, it can appear twice with different fold values and adjusted time. For example, when DST ends the hour from
01:00to01:59occurs twice. If the schedule defines a single range from00:30to01:30and the current time is00:00, the next four toggles will be:00:30(on,fold=0)01:30(off,fold=0)01:00(on,fold=1) << the time jumped back to01:00which is inside the schedule's range01:30(off,fold=1)
Full Changelog: v2.4.2...2.5.0