* CalDAV/Calendar: fixed invalid ics file for alarm exactly at the event

This commit is contained in:
Ralf Becker 2014-02-10 08:53:16 +00:00
parent 0e1d9ce607
commit f97f223026

View File

@ -1622,6 +1622,11 @@ class Horde_iCalendar {
$duration .= $value . 'S'; $duration .= $value . 'S';
} }
} }
// duration without time ("P") is NOT valid, append 0 minutes ("T0M")
elseif ($duration === 'P')
{
$duration .= 'T0M';
}
return $duration; return $duration;
} }