Skip to content

Commit da7c6f6

Browse files
svethistaabm
authored andcommitted
fixed typo in VCalendar which resulting in usage of the wrong TimeZone
1 parent 8e448ce commit da7c6f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Component/VCalendar.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ public function expand(DateTimeInterface $start, DateTimeInterface $end, DateTim
336336

337337
foreach ($recurringEvents as $events) {
338338
try {
339-
$it = new EventIterator($events, $timeZone);
339+
$it = new EventIterator($events, null, $timeZone);
340340
} catch (NoInstancesException $e) {
341341
// This event is recurring, but it doesn't have a single
342342
// instance. We are skipping this event from the output

0 commit comments

Comments
 (0)