diff --git a/SoObjects/Appointments/iCalRepeatableEntityObject+SOGo.m b/SoObjects/Appointments/iCalRepeatableEntityObject+SOGo.m index 1e69a1d13..cbdd8d9ab 100644 --- a/SoObjects/Appointments/iCalRepeatableEntityObject+SOGo.m +++ b/SoObjects/Appointments/iCalRepeatableEntityObject+SOGo.m @@ -109,13 +109,11 @@ NSArray *ranges; NGCalendarDateRange *checkRange; NSCalendarDate *endDate; - NSTimeZone *tz; BOOL doesOccur; - signed daylightOffset; doesOccur = [self isRecurrent]; if (doesOccur) - { + { endDate = [occurenceDate addTimeInterval: [self occurenceInterval]]; checkRange = [NGCalendarDateRange calendarDateRangeWithStartDate: occurenceDate endDate: endDate];