From: Christoph Wurst Date: Thu, 23 Nov 2023 18:26:21 +0000 (+0100) Subject: fix(dav): Timezone drift of OOO event X-Git-Tag: v29.0.0beta1~759^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=refs%2Fpull%2F41703%2Fhead;p=nextcloud-server.git fix(dav): Timezone drift of OOO event Signed-off-by: Christoph Wurst --- diff --git a/apps/dav/lib/Listener/OutOfOfficeListener.php b/apps/dav/lib/Listener/OutOfOfficeListener.php index 3d3bbfb2f42..fe8377d17fd 100644 --- a/apps/dav/lib/Listener/OutOfOfficeListener.php +++ b/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', [