Monotone-Parent: f1a929eda62ac5fe22596efe98c5a812783f90c5
Monotone-Revision: 9c4be3d7d32f456638c073296f3c3b84ca2f6ea9 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2011-12-06T17:38:40maint-2.0.2
parent
071db38df9
commit
e05939e8a0
|
@ -1,5 +1,8 @@
|
||||||
2011-12-06 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
2011-12-06 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||||
|
|
||||||
|
* SoObjects/Appointments/iCalEvent+SOGo.m (-firstOccurrenceRange):
|
||||||
|
same as below.
|
||||||
|
|
||||||
* SoObjects/Appointments/SOGoAppointmentFolder.m
|
* SoObjects/Appointments/SOGoAppointmentFolder.m
|
||||||
(_flattenCycleRecord:forRange:intoArray:): reverted to retrieving
|
(_flattenCycleRecord:forRange:intoArray:): reverted to retrieving
|
||||||
the event start date using the old and buggy method, adapted to
|
the event start date using the old and buggy method, adapted to
|
||||||
|
|
|
@ -274,14 +274,19 @@
|
||||||
{
|
{
|
||||||
NSCalendarDate *start, *end;
|
NSCalendarDate *start, *end;
|
||||||
NGCalendarDateRange *firstRange;
|
NGCalendarDateRange *firstRange;
|
||||||
|
NSArray *dates;
|
||||||
|
|
||||||
firstRange = nil;
|
firstRange = nil;
|
||||||
|
|
||||||
start = [self startDate];
|
dates = [[[self uniqueChildWithTag: @"dtstart"] valuesForKey: @""] lastObject];
|
||||||
end = [start addTimeInterval: [self occurenceInterval]];
|
if ([dates count] > 0)
|
||||||
|
{
|
||||||
|
start = [[dates lastObject] asCalendarDate];
|
||||||
|
end = [start addTimeInterval: [self occurenceInterval]];
|
||||||
|
|
||||||
firstRange = [NGCalendarDateRange calendarDateRangeWithStartDate: start
|
firstRange = [NGCalendarDateRange calendarDateRangeWithStartDate: start
|
||||||
endDate: end];
|
endDate: end];
|
||||||
|
}
|
||||||
|
|
||||||
return firstRange;
|
return firstRange;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue