Monotone-Parent: a81f3635524596f99835829a1a4835f3a7f58c1b

Monotone-Revision: 4804ccb0f75341fb484b9540603a55565d6e29e5

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2008-12-01T16:24:15
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Francis Lachapelle
2008-12-01 16:24:15 +00:00
parent 5732d7883e
commit 266586d904

View File

@@ -447,7 +447,9 @@
event = [eventObject lookupOccurence: recurrenceTime];
if (event == nil)
// If no occurence found, create one
event = [eventObject newOccurenceWithID: recurrenceTime];
events = [NSArray arrayWithObject: event];
}
@@ -888,8 +890,10 @@
// within the repeating vEvent.
recurrenceTime = [NSString stringWithFormat: @"%f", [_recurrenceId timeIntervalSince1970]];
event = [self lookupOccurence: recurrenceTime];
// If no occurence found, create one
event = [self newOccurenceWithID: recurrenceTime];
if (event == nil)
// If no occurence found, create one
event = [self newOccurenceWithID: recurrenceTime];
}
else
// No specific occurence specified; return the first vEvent of