From 7ce6b602938a988a0f01b25ac2926844947bae70 Mon Sep 17 00:00:00 2001 From: xoy Date: Fri, 19 May 2023 16:38:38 +0200 Subject: [PATCH] Fehlerbehebung --- php/util.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/php/util.php b/php/util.php index 69dfdb4..53e5239 100644 --- a/php/util.php +++ b/php/util.php @@ -144,7 +144,7 @@ class Util { $next_topic->add(new DateInterval('P1D')); } - $output->days = $currentDate->diff($next_topic)->days+1; + $output->days = $currentDate->diff($next_topic)->days; $output->date = $next_topic->format('Y-m-d'); return $output;