Commit 520c8bfe authored by Vlad Pavlovic's avatar Vlad Pavlovic

Issue #1916672: Fixed RRule repeat until end date.

parent 6c606394
......@@ -316,6 +316,10 @@ class date_ical_plugin_style_ical_feed extends views_plugin_style {
// iCalcreator doesn't expect the 'DATA' key that the Date API gives us.
continue;
}
if (strtoupper($key) == 'UNTIL') {
// iCalcreator expects the 'timestamp' to be array key for UNTIL
$value['timestamp'] = strtotime($value['datetime']);
}
if (strtoupper($key) == 'BYDAY') {
$new_byday = array();
foreach ($value as $day) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment