]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix(dav): Timezone drift of OOO event 41703/head
authorChristoph Wurst <christoph@winzerhof-wurst.at>
Thu, 23 Nov 2023 18:26:21 +0000 (19:26 +0100)
committerChristoph Wurst <christoph@winzerhof-wurst.at>
Wed, 29 Nov 2023 10:45:16 +0000 (11:45 +0100)
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
apps/dav/lib/Listener/OutOfOfficeListener.php

index 3d3bbfb2f429ea0d7528f6b50279f0d2a7db4771..fe8377d17fda367e866d48b4c8a5e2b7afb5b134 100644 (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', [