diff --git a/sources/AppBundle/Controller/Admin/HomeAction.php b/sources/AppBundle/Controller/Admin/HomeAction.php index 69a43197d..4ebf1d355 100644 --- a/sources/AppBundle/Controller/Admin/HomeAction.php +++ b/sources/AppBundle/Controller/Admin/HomeAction.php @@ -79,7 +79,7 @@ public function __invoke(): Response // Les stats du CFP sont affichés pendant un certain temps après la date de fin de l'appel $dateEndCallForPapers = $event->getDateEndCallForPapers(); - if ($dateEndCallForPapers && $dateEndCallForPapers < $this->clock->now()->add(new \DateInterval('P3M'))) { + if ($dateEndCallForPapers && $dateEndCallForPapers->add(new \DateInterval('P2M')) > $this->clock->now()) { $cfp['statistics'][$event->getTitle()] = [ [ 'icon' => 'microphone',