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
No known key found for this signature in database
GPG Key ID: CC42AC2A7F0E56D8
1 changed files with
1 additions and
1 deletions
-
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', [ |
|
|
|
|