From ae34dae240c84d4248e1713c0f4327f66216045b Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Mon, 4 Jan 2010 22:57:00 +0000 Subject: [PATCH] merged r28889 von Jaytraxx: substract only one second from incoming whole day events because EGw stores whole day events with DTEND 23:59:59 --- calendar/inc/class.calendar_ical.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/calendar/inc/class.calendar_ical.inc.php b/calendar/inc/class.calendar_ical.inc.php index a82747ca2f..7f9366e2fc 100644 --- a/calendar/inc/class.calendar_ical.inc.php +++ b/calendar/inc/class.calendar_ical.inc.php @@ -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; }