Add X-RECURRENCE-ID for vCal 1.0

This commit is contained in:
Jörg Lehrke 2009-10-24 15:52:06 +00:00
parent a00b86c0df
commit 291d3b04cb

View File

@ -691,6 +691,7 @@ class Horde_iCalendar {
case 'AALARM': case 'AALARM':
case 'DALARM': case 'DALARM':
case 'RECURRENCE-ID': case 'RECURRENCE-ID':
case 'X-RECURRENCE-ID':
// types like AALARM may contain additional data after a ; // types like AALARM may contain additional data after a ;
// ignore these. // ignore these.
$ts = explode(';', $value); $ts = explode(';', $value);
@ -930,6 +931,7 @@ class Horde_iCalendar {
case 'AALARM': case 'AALARM':
case 'DALARM': case 'DALARM':
case 'RECURRENCE-ID': case 'RECURRENCE-ID':
case 'X-RECURRENCE-ID':
if (isset($params['VALUE'])) { if (isset($params['VALUE'])) {
if ($params['VALUE'] == 'DATE') { if ($params['VALUE'] == 'DATE') {
// VCALENDAR 1.0 uses T000000 - T235959 for all day events: // VCALENDAR 1.0 uses T000000 - T235959 for all day events: