We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 34def88 + 42992be commit 557c3d1Copy full SHA for 557c3d1
app/code/Magento/Customer/Block/Widget/Dob.php
@@ -127,7 +127,8 @@ protected function getFormFilter()
127
protected function applyOutputFilter($value)
128
{
129
$filter = $this->getFormFilter();
130
- if ($filter) {
+ if ($filter && $value) {
131
+ $value = date('Y-m-d', $this->getTime());
132
$value = $filter->outputFilter($value);
133
}
134
return $value;
0 commit comments