Skip to content

Commit 85a98b2

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

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/Customer/Block/Widget

1 file changed

+1
-1
lines changed

app/code/Magento/Customer/Block/Widget/Dob.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ protected function applyOutputFilter($value)
128128
{
129129
$filter = $this->getFormFilter();
130130
if ($filter) {
131-
$value = date('Y-m-d',strtotime($value));
131+
$value = date('Y-m-d', $this->getTime());
132132
$value = $filter->outputFilter($value);
133133
}
134134
return $value;

0 commit comments

Comments
 (0)