diff --git a/ChangeLog b/ChangeLog index a867b5d12..042288549 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2007-06-12 Wolfgang Sourdeau + * UI/Scheduler/UIxCalListingActions.m ([UIxCalListingActions + -eventsListAction]): no longer reduce the end day of one day for + all day events since everything has been fixed in + OCSiCalFieldExtractor. + * OGoContentStore/OCSiCalFieldExtractor.m ([OCSiCalFieldExtractor -extractQuickFieldsFromEvent:_event]): reduce the seconds/70 of the end date of all day events of 1 so that they stay on their diff --git a/UI/Scheduler/UIxCalListingActions.m b/UI/Scheduler/UIxCalListingActions.m index 1ed0316b8..d3aa3cac6 100644 --- a/UI/Scheduler/UIxCalListingActions.m +++ b/UI/Scheduler/UIxCalListingActions.m @@ -317,16 +317,10 @@ { newEvent = [NSMutableArray arrayWithArray: oldEvent]; interval = [[oldEvent objectAtIndex: 4] intValue]; - date - = [dateFormatter stringForObjectValue: - [NSCalendarDate dateWithTimeIntervalSince1970: interval]]; + date = [dateFormatter stringForSecondsSinceThe70s: interval]; [newEvent addObject: date]; interval = [[oldEvent objectAtIndex: 5] intValue]; - if ([[oldEvent objectAtIndex: 7] boolValue]) - interval -= 86400; - date - = [dateFormatter stringForObjectValue: - [NSCalendarDate dateWithTimeIntervalSince1970: interval]]; + date = [dateFormatter stringForSecondsSinceThe70s: interval]; [newEvent addObject: date]; [newEvents addObject: newEvent];