From c9cfbb1f368fac07a2e257e9487f3c71d14f2c2d Mon Sep 17 00:00:00 2001 From: Daniel Spitzer Date: Mon, 18 Nov 2024 14:27:53 +0100 Subject: [PATCH] =?UTF-8?q?Kalender=20Update:=20*=20Serientermine=20die=20?= =?UTF-8?q?schon=20l=C3=A4nger=20als=201=20Jahr=20laufen=20werden=20nun=20?= =?UTF-8?q?3=20Jahre=20in=20die=20Zugunft=20angezeigt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/Calendar/CalendarModel.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/Calendar/CalendarModel.php b/application/Calendar/CalendarModel.php index 0c705d58f..fe6979d32 100644 --- a/application/Calendar/CalendarModel.php +++ b/application/Calendar/CalendarModel.php @@ -198,7 +198,7 @@ class CalendarModel $duration = ($data['end_time'] - $data['start_time']) * 1000; $until = $recurrence['range']['endDate']; if ($until == "0001-01-01") { - $until = strtotime("+3 year", $data['start_time']); + $until = strtotime("+3 year", time()); $until = date("Y-m-d", $until); } else { $until = date("Y-m-d", strtotime($recurrence['range']['endDate']) + 86400);