From c631689975a4532abc4f3d184ad199d15f29bd6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Enrique=20J=2E=20Hern=C3=A1ndez=20Blasco?= Date: Thu, 16 Oct 2014 16:26:57 +0200 Subject: [PATCH] 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) --- OpenChange/MAPIStoreAppointmentWrapper.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenChange/MAPIStoreAppointmentWrapper.m b/OpenChange/MAPIStoreAppointmentWrapper.m index c256081b7..968b3dc66 100644 --- a/OpenChange/MAPIStoreAppointmentWrapper.m +++ b/OpenChange/MAPIStoreAppointmentWrapper.m @@ -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;