diff --git a/UI/Scheduler/UIxCalListingActions.m b/UI/Scheduler/UIxCalListingActions.m index 8ef47f070..0e37d3bd4 100644 --- a/UI/Scheduler/UIxCalListingActions.m +++ b/UI/Scheduler/UIxCalListingActions.m @@ -723,6 +723,11 @@ _userStateInEvent (NSArray *event) if (eventEnd > endsSecs) eventEnd = endsSecs; + if (eventEnd < startSecs) + // The event doesn't end in the covered period. + // This special case occurs with a DST change. + return; + userState = _userStateInEvent (event); while (currentDayStart + dayLength < eventEnd) {