Skip to content

Commit 42992be

Browse files
ENGCOM-2075: [Forwardport] DOBISSUE date format changed after customer tries to register with sa… #16283
- Merge Pull Request #16283 from hitesh-wagento/magento2:2.3-develop-PR-port-15272 - Merged commits: 1. 092e6ec 2. c180386 3. 85a98b2 4. b6375da 5. 0973ca3
2 parents 8eb668b + 0973ca3 commit 42992be

File tree

1 file changed

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

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,8 @@ protected function getFormFilter()
127127
protected function applyOutputFilter($value)
128128
{
129129
$filter = $this->getFormFilter();
130-
if ($filter) {
130+
if ($filter && $value) {
131+
$value = date('Y-m-d', $this->getTime());
131132
$value = $filter->outputFilter($value);
132133
}
133134
return $value;

0 commit comments

Comments
 (0)