diff --git a/public/typo3conf/ext/ep_products/Classes/Service/GroupsSwissService.php b/public/typo3conf/ext/ep_products/Classes/Service/GroupsSwissService.php index 292858e5..b3727066 100644 --- a/public/typo3conf/ext/ep_products/Classes/Service/GroupsSwissService.php +++ b/public/typo3conf/ext/ep_products/Classes/Service/GroupsSwissService.php @@ -26,7 +26,6 @@ namespace EP\EpProducts\Service; * This copyright notice MUST APPEAR in all copies of the script! ***************************************************************/ -use CalendR\Period\Range; use Doctrine\DBAL\DBALException; use EP\EpProducts\Domain\Model\Contingent; use EP\EpProducts\Domain\Model\Hotel; @@ -183,8 +182,8 @@ class GroupsSwissService implements SingletonInterface, LoggerAwareInterface protected function resetChart(Period $range, $apiKey, $houseNumber): void { $item = [ - 'from' => $range->getStartDate()->format('Y-m-d'), - 'to' => $range->getEndDate()->format('Y-m-d'), + 'from' => $range->getStartDate(), + 'to' => $range->getEndDate(), ]; $this->addItem($item, 0, $apiKey, $houseNumber);