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