diff --git a/Model/Import/Category.php b/Model/Import/Category.php index 113d827..437cb59 100644 --- a/Model/Import/Category.php +++ b/Model/Import/Category.php @@ -1219,7 +1219,7 @@ protected function saveCategories() $attrValue = $attrParams['options'][strtolower($attrValue)]; } } elseif ('datetime' == $attribute->getBackendType() && strtotime($attrValue)) { - $attrValue = (new \DateTime(strtotime($attrValue)))->format(DateTime::DATETIME_PHP_FORMAT); + $attrValue = (new \DateTime($attrValue))->format(DateTime::DATETIME_PHP_FORMAT); } elseif ($backModel && 'available_sort_by' != $attrCode) { $attribute->getBackend()->beforeSave($category); $attrValue = $category->getData($attribute->getAttributeCode());