Skip to content
This repository was archived by the owner on Apr 29, 2019. It is now read-only.

Commit 4e382cc

Browse files
committed
Special price date from issue resolve
1 parent 708017a commit 4e382cc

File tree

1 file changed

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

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -463,6 +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']);
466467
$productData['special_from_date'] = new \DateTime($productData['special_from_date']);
467468
}
468469

0 commit comments

Comments
 (0)