Skip to content
This repository was archived by the owner on Jan 25, 2020. It is now read-only.

Commit 125d99c

Browse files
committed
try that again
1 parent cfc2157 commit 125d99c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/Http/Controllers/API/ExecController.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -444,6 +444,7 @@ public function generateCalendar(Request $request)
444444
// Iterate through all events
445445
foreach ($events as $event) {
446446
$vEvent = new \Eluceo\iCal\Component\Event();
447+
$vEvent->setUseTimezone(true);
447448
$vEvent
448449
->setDtStart(new \DateTime($event->begin))
449450
->setDtEnd(new \DateTime($event->end))

0 commit comments

Comments
 (0)