diff --git a/calendar/inc/class.calendar_ical.inc.php b/calendar/inc/class.calendar_ical.inc.php index 562dd19b35..0930be8ba0 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; }