oc-calendar: getPidLidClipEnd now follows [MS-OXOCAL]

On recurrent events when there is no end, the time to set is
31 August 4500, 11:59 P.M ([MS-OXOCAL] Section 2.2.1.15)
This commit is contained in:
Enrique J. Hernández Blasco
2014-10-16 16:26:57 +02:00
committed by Julio García
parent cd64ca199a
commit c631689975

View File

@@ -894,7 +894,7 @@ static NSCharacterSet *hexCharacterSet = nil;
}
else
dateValue = [NSCalendarDate dateWithYear: 4500 month: 8 day: 31
hour: 23 minute: 59 second: 59
hour: 23 minute: 59 second: 00
timeZone: utcTZ];
*data = [dateValue asFileTimeInMemCtx: memCtx];
rc = MAPISTORE_SUCCESS;