[eGroupWare-svn] r55896 - /trunk/calendar/inc/class.calendar_ical.inc.php

[email protected]
Newsgroups gmane.comp.web.egroupware.cvs
Message-ID <[email protected]>
Author: ralfbecker
Date: Wed Apr 27 18:27:04 2016
New Revision: 55896

URL: http://svn.stylite.de/viewvc/egroupware?rev=55896&view=rev
Log:
* CalDAV: fix exceptions (EXDATE) was exported with timezone and Zulu-time, causing eM Clinet to fail
current Horde_Icalendar only exports EXDATE in Zulu-time, so we can only remove timezone. Apple calendar on OS X 10.11.4 uses a timezone, so does Horde eg. for Recurrence-ID

Modified:
    trunk/calendar/inc/class.calendar_ical.inc.php

Modified: trunk/calendar/inc/class.calendar_ical.inc.php
URL: http://svn.stylite.de/viewvc/egroupware/trunk/calendar/inc/class.calendar_ical.inc.php?rev=55896&r1=55895&r2=55896&view=diff
==============================================================================
--- trunk/calendar/inc/class.calendar_ical.inc.php (original)
+++ trunk/calendar/inc/class.calendar_ical.inc.php Wed Apr 27 18:27:04 2016
@@ -659,13 +659,9 @@
 							{
 								foreach ($event['recur_exception'] as $key => $timestamp)
 								{
-									$event['recur_exception'][$key] = self::getDateTime($timestamp,$tzid,$parameters['EXDATE']);
-								}
-								if ($version != '1.0')
-								{
-									// VALUE=DATE-TIME is default and optional
-									// adding it causes iCal on iOS 5.1.1 / OSX 10.7.4 to fail to recognice exceptions
-									if (!empty($tzid)) $parameters['EXDATE']['TZID'] = $tzid;
+									// current Horde_Icalendar 2.1.4 exports EXDATE always in UTC, so we should not set a timezone here
+									// Apple calendar on OS X 10.11.4 uses a timezone, so does Horde eg. for Recurrence-ID
+									$event['recur_exception'][$key] = self::getDateTime($timestamp,$tzid);//,$parameters['EXDATE']);
 								}
 							}
 							else


------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.