mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-31 19:19:43 +01:00
* Calendar: Fix more than 2 exceptions caused missed exceptions with groupdav / iOS
This commit is contained in:
parent
d6a747e36b
commit
ddccf59758
@ -1077,7 +1077,7 @@ class calendar_ical extends calendar_boupdate
|
|||||||
|
|
||||||
// hack to fix iCalendar exporting EXDATE always postfixed with a Z
|
// hack to fix iCalendar exporting EXDATE always postfixed with a Z
|
||||||
// EXDATE can have multiple values and therefore be folded into multiple lines
|
// EXDATE can have multiple values and therefore be folded into multiple lines
|
||||||
return preg_replace_callback("/\nEXDATE;TZID=[^:]+:[0-9TZ \n,]+/", function($matches)
|
return preg_replace_callback("/\nEXDATE;TZID=[^:]+:[0-9TZ \r\n,]+/", function($matches)
|
||||||
{
|
{
|
||||||
return preg_replace('/([0-9 ])Z/', '$1', $matches[0]);
|
return preg_replace('/([0-9 ])Z/', '$1', $matches[0]);
|
||||||
}, $retval);
|
}, $retval);
|
||||||
|
Loading…
Reference in New Issue
Block a user