From 22936497fd888273e1458167877f19627d23ee26 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;