summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2023-11-23 19:26:21 +0100
committerAndy Scherzinger <info@andy-scherzinger.de>2023-11-29 19:49:42 +0100
commitb11da9c004a9ae083bb4b60c638233b537aafeb6 (patch)
tree20c054bf0e249732490f25b54ec37cb9690f8711 /apps
parentac782a161933a3461542353b610a5e25f89cd92c (diff)
downloadnextcloud-server-b11da9c004a9ae083bb4b60c638233b537aafeb6.tar.gz
nextcloud-server-b11da9c004a9ae083bb4b60c638233b537aafeb6.zip
fix(dav): Timezone drift of OOO event
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'apps')
-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', [