mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 16:03:47 +01:00
* Fix RRULE parser (UTC fix) - Bug#2991@egroupware.org
This commit is contained in:
parent
823a6014ef
commit
ef6393e8af
@ -2506,7 +2506,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];
|
||||
@ -2567,7 +2567,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