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

This commit is contained in:
Ralf Becker 2014-02-10 08:53:50 +00:00
parent 32b4f370fe
commit 5c2533c88c

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