Skip to content

Commit

Permalink
fix(dav): Timezone drift of OOO event
Browse files Browse the repository at this point in the history
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
  • Loading branch information
ChristophWurst committed Nov 23, 2023
1 parent f42139b commit 9ea0830
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/dav/lib/Listener/OutOfOfficeListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ private function createVCalendarEvent(IOutOfOfficeData $data, ?string $timeZoneD
->setTime(0, 0);
$end = (new DateTimeImmutable())
->setTimestamp($data->getEndDate())
->modify('+ 2 days')
->modify('+ 1 days')
->setTime(0, 0);
$vCalendar = new VCalendar();
$vCalendar->add('VEVENT', [
Expand Down

0 comments on commit 9ea0830

Please sign in to comment.