fix(dav): Timezone drift of OOO event

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
pull/41703/head
Christoph Wurst 6 months ago
parent 412916166d
commit f1a18bbe0c
No known key found for this signature in database
GPG Key ID: CC42AC2A7F0E56D8

@ -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', [

Loading…
Cancel
Save