diff --git a/calendar/inc/class.boical.inc.php b/calendar/inc/class.boical.inc.php index d3b33341c1..4a7ed12c32 100644 --- a/calendar/inc/class.boical.inc.php +++ b/calendar/inc/class.boical.inc.php @@ -533,7 +533,7 @@ date('s', $vcardData['end']), date('m', $vcardData['end']), date('d', $vcardData['end']), - date('Y', $vcardData['end']) + ($recurenceMatches[2] * $vcardData['recur_interval']), + date('Y', $vcardData['end']) + ($recurenceMatches[2] * $vcardData['recur_interval']) ); } } elseif(preg_match('/YM(\d+) (.*)/',$recurence, $recurenceMatches)) {