mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-08-06 15:33:19 +00:00
Monotone-Parent: f1a929eda62ac5fe22596efe98c5a812783f90c5
Monotone-Revision: 9c4be3d7d32f456638c073296f3c3b84ca2f6ea9 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2011-12-06T17:38:40
This commit is contained in:
@@ -274,14 +274,19 @@
|
||||
{
|
||||
NSCalendarDate *start, *end;
|
||||
NGCalendarDateRange *firstRange;
|
||||
NSArray *dates;
|
||||
|
||||
firstRange = nil;
|
||||
|
||||
start = [self startDate];
|
||||
end = [start addTimeInterval: [self occurenceInterval]];
|
||||
dates = [[[self uniqueChildWithTag: @"dtstart"] valuesForKey: @""] lastObject];
|
||||
if ([dates count] > 0)
|
||||
{
|
||||
start = [[dates lastObject] asCalendarDate];
|
||||
end = [start addTimeInterval: [self occurenceInterval]];
|
||||
|
||||
firstRange = [NGCalendarDateRange calendarDateRangeWithStartDate: start
|
||||
endDate: end];
|
||||
firstRange = [NGCalendarDateRange calendarDateRangeWithStartDate: start
|
||||
endDate: end];
|
||||
}
|
||||
|
||||
return firstRange;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user