Fehlerbehebung

This commit is contained in:
xoy 2023-05-19 16:38:38 +02:00
parent d64e305b6b
commit 7ce6b60293
1 changed files with 1 additions and 1 deletions

View File

@ -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;