Fehlerbehebung

This commit is contained in:
xoy 2023-05-19 16:38:38 +02:00
parent a17146cf3e
commit 22936497fd
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;