aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav/lib
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2023-11-23 19:26:21 +0100
committerChristoph Wurst <christoph@winzerhof-wurst.at>2023-11-29 11:45:16 +0100
commitf1a18bbe0c04c92dc08b21ad06cf1871e80833a2 (patch)
treed29d56370d9873d1415dd094903fa2acc6940cab /apps/dav/lib
parent412916166d880104e8e70b994a2875fbfd86bc8d (diff)
downloadnextcloud-server-f1a18bbe0c04c92dc08b21ad06cf1871e80833a2.tar.gz
nextcloud-server-f1a18bbe0c04c92dc08b21ad06cf1871e80833a2.zip
fix(dav): Timezone drift of OOO event
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'apps/dav/lib')
-rw-r--r--apps/dav/lib/Listener/OutOfOfficeListener.php2
1 files changed, 1 insertions, 1 deletions
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', [