Merge pull request #136 from Zentyal/ejhernandez/fix-regression-all-day-recurrent

oc-calendar: Fix regression on PidLidAppointmentTimeZoneDefinitionStartDisplay
pull/84/head
Jesús García Sáez 2015-05-19 10:38:35 +02:00
commit ca500df0af
1 changed files with 2 additions and 0 deletions

View File

@ -2080,6 +2080,8 @@ ReservedBlockEE2Size: 00 00 00 00
icalTZ = [iCalTimeZone timeZoneForName: [timeZone timeZoneName]];
else if ([event isRecurrent])
icalTZ = [(iCalDateTime *) [event firstChildWithTag: @"dtstart"] timeZone];
else
icalTZ = nil;
if (icalTZ)
{