fix(dav): Timezone drift of OOO event

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
This commit is contained in:
Christoph Wurst 2023-11-23 19:26:21 +01:00 committed by Andy Scherzinger
parent ac782a1619
commit b11da9c004

View file

@ -177,7 +177,7 @@ class OutOfOfficeListener implements IEventListener {
->setTime(0, 0);
$end = (new DateTimeImmutable())
->setTimestamp($data->getEndDate())
->modify('+ 2 days')
->modify('+ 1 days')
->setTime(0, 0);
$vCalendar = new VCalendar();
$vCalendar->add('VEVENT', [