mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-24 15:48:55 +01:00
convert old eGW whole day events enddate to correct ical value
This commit is contained in:
parent
b09e764ad0
commit
2c3996e4e5
@ -213,6 +213,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