parent
7c250fad8f
commit
3e8f7cb29e
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue