Fehlerbehebung
This commit is contained in:
parent
d64e305b6b
commit
7ce6b60293
|
@ -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 New Issue