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