* Fix RRULE parser (UTC fix) - Bug#2991@egroupware.org

This commit is contained in:
Jörg Lehrke 2011-06-25 17:48:46 +00:00
parent ad291a312f
commit 7721b608c0

View File

@ -2502,7 +2502,7 @@ class calendar_ical extends calendar_boupdate
);
}
}
elseif (preg_match('/MD(\d+)(?: [^ ]+)? ([0-9T]+)/',$recurence, $recurenceMatches))
elseif (preg_match('/MD(\d+)(?: [^ ]+)? ([0-9TZ]+)/',$recurence, $recurenceMatches))
{
$vcardData['recur_type'] = MCAL_RECUR_MONTHLY_MDAY;
$vcardData['recur_interval'] = $recurenceMatches[1];
@ -2563,7 +2563,7 @@ class calendar_ical extends calendar_boupdate
);
}
}
elseif (preg_match('/YM(\d+)(?: [^ ]+)? ([0-9T]+)/',$recurence, $recurenceMatches))
elseif (preg_match('/YM(\d+)(?: [^ ]+)? ([0-9TZ]+)/',$recurence, $recurenceMatches))
{
$vcardData['recur_interval'] = $recurenceMatches[1];
$vcardData['recur_enddate'] = $this->vCalendar->_parseDateTime($recurenceMatches[2]);