substract only one second from incoming whole day events because EGw stores whole day events with DTEND 23:59:59

This commit is contained in:
Christian Binder 2010-01-04 13:56:20 +00:00
parent 80f9969ee3
commit 946ecb41b2

View File

@ -1562,7 +1562,7 @@ class calendar_ical extends calendar_boupdate
$dtend_ts = is_numeric($attributes['value']) ? $attributes['value'] : $this->date2ts($attributes['value']);
if (date('H:i:s',$dtend_ts) == '00:00:00')
{
$dtend_ts -= 60;
$dtend_ts -= 1;
}
$vcardData['end'] = $dtend_ts;
}