We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 711b7f1 commit 9a0a096Copy full SHA for 9a0a096
Model/Import/Category.php
@@ -1219,7 +1219,7 @@ protected function saveCategories()
1219
$attrValue = $attrParams['options'][strtolower($attrValue)];
1220
}
1221
} elseif ('datetime' == $attribute->getBackendType() && strtotime($attrValue)) {
1222
- $attrValue = (new \DateTime(strtotime($attrValue)))->format(DateTime::DATETIME_PHP_FORMAT);
+ $attrValue = (new \DateTime($attrValue))->format(DateTime::DATETIME_PHP_FORMAT);
1223
} elseif ($backModel && 'available_sort_by' != $attrCode) {
1224
$attribute->getBackend()->beforeSave($category);
1225
$attrValue = $category->getData($attribute->getAttributeCode());
0 commit comments