Skip to content

Commit ff550b4

Browse files
KaushikChavdagelanivishal
authored andcommitted
DOBISSUE date format changed after customer tries to register with same email address.
1 parent 9317c4f commit ff550b4

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
@@ -75,7 +75,7 @@ public function inputFilter($value)
7575
public function outputFilter($value)
7676
{
7777
$filterInput = new \Zend_Filter_LocalizedToNormalized(
78-
['date_format' => DateTime::DATE_INTERNAL_FORMAT, 'locale' => $this->localeResolver->getLocale()]
78+
['date_format' => $this->_dateFormat, 'locale' => $this->localeResolver->getLocale()]
7979
);
8080
$filterInternal = new \Zend_Filter_NormalizedToLocalized(
8181
['date_format' => $this->_dateFormat, 'locale' => $this->localeResolver->getLocale()]

0 commit comments

Comments
 (0)