forked from extern/egroupware
* CalDAV/Calendar: fixed invalid ics file for alarm exactly at the event
This commit is contained in:
parent
0e1d9ce607
commit
f97f223026
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user