See ChangeLog

Monotone-Parent: c0509d9d92c69255be6d27969b4f578739e78c7f
Monotone-Revision: 7f72bf38468755bb297376dd8f4ea909be348709

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2011-07-08T01:15:51
Monotone-Branch: ca.inverse.sogo
maint-2.0.2
Francis Lachapelle 2011-07-08 01:15:51 +00:00
parent a40357f9c4
commit 3fa292756b
2 changed files with 7 additions and 3 deletions

View File

@ -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.

View File

@ -160,9 +160,8 @@
{
currentEndDate = [currentStartDate addTimeInterval: [firstRange duration]];
r = [NGCalendarDateRange calendarDateRangeWithStartDate: currentStartDate
endDate: currentEndDate];
if ([_r containsDateRange: r])
endDate: currentEndDate];
if ([_r containsDateRange: r] || [_r doesIntersectWithDateRange: r])
[ranges addObject: r];
}
}
@ -178,6 +177,7 @@
i++;
}
return ranges;
}