Fehlerbehebung
This commit is contained in:
parent
a17146cf3e
commit
22936497fd
1 changed files with 1 additions and 1 deletions
|
@ -144,7 +144,7 @@ class Util {
|
||||||
$next_topic->add(new DateInterval('P1D'));
|
$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');
|
$output->date = $next_topic->format('Y-m-d');
|
||||||
|
|
||||||
return $output;
|
return $output;
|
||||||
|
|
Loading…
Reference in a new issue