From ff550b4a69ecf1cf161f370d9dd83b5057d4c5e4 Mon Sep 17 00:00:00 2001 From: Kaushik Chavda Date: Thu, 17 May 2018 11:33:56 +0530 Subject: [PATCH] DOBISSUE date format changed after customer tries to register with same email address. --- lib/internal/Magento/Framework/Data/Form/Filter/Date.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/internal/Magento/Framework/Data/Form/Filter/Date.php b/lib/internal/Magento/Framework/Data/Form/Filter/Date.php index 8765e136e2897..90957e5244389 100644 --- a/lib/internal/Magento/Framework/Data/Form/Filter/Date.php +++ b/lib/internal/Magento/Framework/Data/Form/Filter/Date.php @@ -75,7 +75,7 @@ public function inputFilter($value) public function outputFilter($value) { $filterInput = new \Zend_Filter_LocalizedToNormalized( - ['date_format' => DateTime::DATE_INTERNAL_FORMAT, 'locale' => $this->localeResolver->getLocale()] + ['date_format' => $this->_dateFormat, 'locale' => $this->localeResolver->getLocale()] ); $filterInternal = new \Zend_Filter_NormalizedToLocalized( ['date_format' => $this->_dateFormat, 'locale' => $this->localeResolver->getLocale()]