Skip to content

Commit

Permalink
ical timezone fix (#1164)
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-stanek authored Jan 18, 2024
1 parent e0bfb0e commit dd9dd20
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/ExportModule/Presenters/SchedulePresenter.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ public function actionIcal(int $id): void
$userPrograms = $this->queryBus->handle(new UserAttendsProgramsQuery($user));

foreach ($userPrograms as $program) {
$start = new DateTime($program->getStart(), false);
$end = new DateTime($program->getEnd(), false);
$start = new DateTime($program->getStart(), true);
$end = new DateTime($program->getEnd(), true);

$event = new Event();
$event->setSummary($program->getBlock()->getName())
Expand Down

0 comments on commit dd9dd20

Please sign in to comment.