convert old eGW whole day events enddate to correct ical value

This commit is contained in:
Christian Binder 2007-10-10 07:03:58 +00:00
parent 9fa24c53fc
commit ebcb1ba793

View File

@ -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;