mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-29 10:09:10 +01:00
convert old eGW whole day events enddate to correct ical value
This commit is contained in:
parent
9fa24c53fc
commit
ebcb1ba793
@ -242,6 +242,7 @@
|
|||||||
|
|
||||||
case 'DTEND':
|
case 'DTEND':
|
||||||
if(date('H:i:s',$event['end']) == '23:59:59') $event['end']++;
|
if(date('H:i:s',$event['end']) == '23:59:59') $event['end']++;
|
||||||
|
if(date('H:i:s',$event['end']) == '23:59:00') $event['end']+=60; // needed by old eGW whole-day events
|
||||||
$attributes[$icalFieldName] = $event['end'];
|
$attributes[$icalFieldName] = $event['end'];
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user