Skip to content

Commit 092e6ec

Browse files
KaushikChavdahitesh-wagento
authored andcommitted
DOBISSUE date format changed after customer tries to register with same email address.
1 parent c2c4f29 commit 092e6ec

File tree

1 file changed

+1
-1
lines changed
  • lib/internal/Magento/Framework/Data/Form/Filter

1 file changed

+1
-1
lines changed

lib/internal/Magento/Framework/Data/Form/Filter/Date.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ public function outputFilter($value)
8383
}
8484

8585
$filterInput = new \Zend_Filter_LocalizedToNormalized(
86-
['date_format' => DateTime::DATE_INTERNAL_FORMAT, 'locale' => $this->localeResolver->getLocale()]
86+
['date_format' => $this->_dateFormat, 'locale' => $this->localeResolver->getLocale()]
8787
);
8888
$filterInternal = new \Zend_Filter_NormalizedToLocalized(
8989
['date_format' => $this->_dateFormat, 'locale' => $this->localeResolver->getLocale()]

0 commit comments

Comments
 (0)