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>
|
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
|
* iCalRepeatableEntityObject.m (-addToExceptionDates:): drop the
|
||||||
time part when dealing with an all-day event.
|
time part when dealing with an all-day event.
|
||||||
|
|
||||||
|
|
|
@ -160,9 +160,8 @@
|
||||||
{
|
{
|
||||||
currentEndDate = [currentStartDate addTimeInterval: [firstRange duration]];
|
currentEndDate = [currentStartDate addTimeInterval: [firstRange duration]];
|
||||||
r = [NGCalendarDateRange calendarDateRangeWithStartDate: currentStartDate
|
r = [NGCalendarDateRange calendarDateRangeWithStartDate: currentStartDate
|
||||||
endDate: currentEndDate];
|
endDate: currentEndDate];
|
||||||
|
if ([_r containsDateRange: r] || [_r doesIntersectWithDateRange: r])
|
||||||
if ([_r containsDateRange: r])
|
|
||||||
[ranges addObject: r];
|
[ranges addObject: r];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -178,6 +177,7 @@
|
||||||
|
|
||||||
i++;
|
i++;
|
||||||
}
|
}
|
||||||
|
|
||||||
return ranges;
|
return ranges;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue