Skip to content

Commit 7601d33

Browse files
fix(dav): Timezone drift of OOO event
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
1 parent fcfe20f commit 7601d33

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/dav/lib/Listener/OutOfOfficeListener.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ private function createVCalendarEvent(IOutOfOfficeData $data, ?string $timeZoneD
177177
->setTime(0, 0);
178178
$end = (new DateTimeImmutable())
179179
->setTimestamp($data->getEndDate())
180-
->modify('+ 2 days')
180+
->modify('+ 1 days')
181181
->setTime(0, 0);
182182
$vCalendar = new VCalendar();
183183
$vCalendar->add('VEVENT', [

0 commit comments

Comments
 (0)