From 59017c5b942cfb4669621bc0dbe557ac5803d94c Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Tue, 6 Dec 2011 16:04:04 +0000 Subject: [PATCH] Monotone-Parent: 11ef456e45cbaea55e39d4b6ddb6751f4f233acc Monotone-Revision: 802a04b5081d0264febb32e1dcf222a8d0d1a263 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2011-12-06T16:04:04 --- ChangeLog | 7 +++++++ SoObjects/Appointments/SOGoAppointmentFolder.m | 5 ++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 6891016d3..9a24e2ee1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2011-12-06 Wolfgang Sourdeau + + * SoObjects/Appointments/SOGoAppointmentFolder.m + (_flattenCycleRecord:forRange:intoArray:): reverted to retrieving + the event start date using the old and buggy method, adapted to + the new NGCards API. + 2011-12-05 Francis Lachapelle * UI/WebServerResources/MailerUI.js (deleteSelectedMessages) diff --git a/SoObjects/Appointments/SOGoAppointmentFolder.m b/SoObjects/Appointments/SOGoAppointmentFolder.m index 4ebcbe489..c171bc3d6 100644 --- a/SoObjects/Appointments/SOGoAppointmentFolder.m +++ b/SoObjects/Appointments/SOGoAppointmentFolder.m @@ -903,7 +903,10 @@ firstInstanceCalendarDateRange: (NGCalendarDateRange *) fir // Retrieve the range of the first/master event component = [components objectAtIndex: 0]; dtstart = (iCalDateTime *) [component uniqueChildWithTag: @"dtstart"]; - firstStartDate = [dtstart dateTime]; + firstStartDate = [[[[dtstart valuesForKey: @""] + lastObject] + lastObject] + asCalendarDate]; firstEndDate = [firstStartDate addTimeInterval: [component occurenceInterval]]; firstRange = [NGCalendarDateRange calendarDateRangeWithStartDate: firstStartDate