mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-03 03:50:13 +01:00
* Fix RRULE parser (UTC fix) - Bug#2991@egroupware.org
This commit is contained in:
parent
ad291a312f
commit
7721b608c0
@ -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]);
|
||||
|
Loading…
Reference in New Issue
Block a user