Browse Source

fix(dav): Timezone drift of OOO event

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
pull/41703/head
Christoph Wurst 2 years ago
parent
commit
f1a18bbe0c
No known key found for this signature in database GPG Key ID: CC42AC2A7F0E56D8
  1. 2
      apps/dav/lib/Listener/OutOfOfficeListener.php

2
apps/dav/lib/Listener/OutOfOfficeListener.php

@ -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