See ChangeLog
Monotone-Parent: c0509d9d92c69255be6d27969b4f578739e78c7f Monotone-Revision: 7f72bf38468755bb297376dd8f4ea909be348709 Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2011-07-08T01:15:51 Monotone-Branch: ca.inverse.sogomaint-2.0.2
parent
a40357f9c4
commit
3fa292756b
|
@ -1,5 +1,9 @@
|
|||
2011-07-11 Francis Lachapelle <flachapelle@inverse.ca>
|
||||
|
||||
* iCalDailyRecurrenceCalculator.m
|
||||
(-recurrenceRangesWithinCalendarDateRange:): we must return all
|
||||
ranges that intersect with the lookup period.
|
||||
|
||||
* iCalRepeatableEntityObject.m (-addToExceptionDates:): drop the
|
||||
time part when dealing with an all-day event.
|
||||
|
||||
|
|
|
@ -161,8 +161,7 @@
|
|||
currentEndDate = [currentStartDate addTimeInterval: [firstRange duration]];
|
||||
r = [NGCalendarDateRange calendarDateRangeWithStartDate: currentStartDate
|
||||
endDate: currentEndDate];
|
||||
|
||||
if ([_r containsDateRange: r])
|
||||
if ([_r containsDateRange: r] || [_r doesIntersectWithDateRange: r])
|
||||
[ranges addObject: r];
|
||||
}
|
||||
}
|
||||
|
@ -178,6 +177,7 @@
|
|||
|
||||
i++;
|
||||
}
|
||||
|
||||
return ranges;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue