Skip to content

Commit 7ca0246

Browse files
committed
ENGCOM-3184: Fixed functional test.
1 parent c10877e commit 7ca0246

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/Catalog/Controller/Adminhtml/Product/Initialization

1 file changed

+1
-1
lines changed

app/code/Magento/Catalog/Controller/Adminhtml/Product/Initialization/Helper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,7 @@ private function fillProductOptions(Product $product, array $productOptions)
463463
private function convertSpecialFromDateStringToObject($productData)
464464
{
465465
if (isset($productData['special_from_date']) && $productData['special_from_date'] != '') {
466-
$productData['special_from_date'] = $this->dateFilter->filter($productData['special_from_date']);
466+
$productData['special_from_date'] = $this->getDateTimeFilter()->filter($productData['special_from_date']);
467467
$productData['special_from_date'] = new \DateTime($productData['special_from_date']);
468468
}
469469

0 commit comments

Comments
 (0)