--- /home/pv/Desktop/freebusy.class.php.in 2007-03-19 15:17:31.000000000 +0100 +++ freebusy.class.php 2007-03-19 11:29:06.000000000 +0100 @@ -320,11 +193,11 @@ // Get the events initial start $initial_start = $event['start-date']; $initial_end = $event['end-date']; - if( $event['allday'] ) { - $initial_end = strtotime( '+1 day', $initial_start ); + if( $event['is-all-day-event'] || $event['allday'] ) { + $initial_end = strtotime( '+1 day', $initial_end ); myLog("Detected all-day event $uid", RM_LOG_DEBUG); }