From 620dcbf31ce75d8ba85d6280973e3a7be5f5cfad Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Tue, 12 Jun 2007 15:37:58 +0000 Subject: [PATCH] Monotone-Parent: 7821d954a61c74202db6dc567f80fc43d2004466 Monotone-Revision: 41c549a27b33b99df942c4323fe0f13a3685b452 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2007-06-12T15:37:58 Monotone-Branch: ca.inverse.sogo --- ChangeLog | 5 +++++ UI/Scheduler/UIxCalListingActions.m | 10 ++-------- 2 files changed, 7 insertions(+), 8 deletions(-) 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];