diff --git a/public/typo3conf/ext/ep_products/Classes/Service/DateImportService.php b/public/typo3conf/ext/ep_products/Classes/Service/DateImportService.php index 382ae083..7278d31d 100644 --- a/public/typo3conf/ext/ep_products/Classes/Service/DateImportService.php +++ b/public/typo3conf/ext/ep_products/Classes/Service/DateImportService.php @@ -280,14 +280,14 @@ class DateImportService implements SingletonInterface, LoggerAwareInterface protected function parseDates(\SimpleXMLElement $xmlDate, array $product): int { $dateCount = 0; - $earliestDate = new \DateTimeImmutable('next year'); +// $earliestDate = new \DateTimeImmutable('next year'); foreach ($xmlDate->hotel as $xmlHotel) { // don't import dates starting later than one year from now - $dateStart = \DateTime::createFromFormat('d.m.Y', (string) $xmlDate->attributes()['termin']); - if ($dateStart > $earliestDate) { - continue; - } +// $dateStart = \DateTime::createFromFormat('d.m.Y', (string) $xmlDate->attributes()['termin']); +// if ($dateStart > $earliestDate) { +// continue; +// } $date = $this->createDateRecord($product, $xmlDate);