Merge branch 'hotfix/datetime-format'
This commit is contained in:
@@ -26,7 +26,6 @@ namespace EP\EpProducts\Service;
|
|||||||
* This copyright notice MUST APPEAR in all copies of the script!
|
* This copyright notice MUST APPEAR in all copies of the script!
|
||||||
***************************************************************/
|
***************************************************************/
|
||||||
|
|
||||||
use CalendR\Period\Range;
|
|
||||||
use Doctrine\DBAL\DBALException;
|
use Doctrine\DBAL\DBALException;
|
||||||
use EP\EpProducts\Domain\Model\Contingent;
|
use EP\EpProducts\Domain\Model\Contingent;
|
||||||
use EP\EpProducts\Domain\Model\Hotel;
|
use EP\EpProducts\Domain\Model\Hotel;
|
||||||
@@ -183,8 +182,8 @@ class GroupsSwissService implements SingletonInterface, LoggerAwareInterface
|
|||||||
protected function resetChart(Period $range, $apiKey, $houseNumber): void
|
protected function resetChart(Period $range, $apiKey, $houseNumber): void
|
||||||
{
|
{
|
||||||
$item = [
|
$item = [
|
||||||
'from' => $range->getStartDate()->format('Y-m-d'),
|
'from' => $range->getStartDate(),
|
||||||
'to' => $range->getEndDate()->format('Y-m-d'),
|
'to' => $range->getEndDate(),
|
||||||
];
|
];
|
||||||
|
|
||||||
$this->addItem($item, 0, $apiKey, $houseNumber);
|
$this->addItem($item, 0, $apiKey, $houseNumber);
|
||||||
|
|||||||
Reference in New Issue
Block a user