#7778: Date of Birth attribute gets weird format on page reload#11748
#7778: Date of Birth attribute gets weird format on page reload#11748nemesis-back wants to merge 1 commit intomagento:2.2-developfrom
Conversation
|
@nemesis-back thanks for the PR. Could you please have a look at the following travis failure. |
|
Hi @nemesis-back Could you please review previous comment? |
|
Hi @nemesis-back |
|
Hey @okorshenko , sorry for the delay with this issue. Please reopen this pull request(I don't have necessary permissions) and let me know where should I push new changes(currently they are available |
|
Hi @nemesis-back. It is impossible to reopen this pull request now. I think you should checrry-pick you changes and create it again from new 2.2-develop branch. Thanks. |
|
@nemesis-back could you please create a new pull request for this? I would really like this issue to be fixed, but I don't like to take credit for your work by creating a pull request.......... |
|
For people who are looking for the solution, @KaushikChavda solved this already in the 2.2-develop branch. Please see this PR: #15272 You could create a patch if you need this solution earlier than the 2.2.6 release. |

Bugfix for #7778 and #11721
Description
This PR fixes issue with displaying date of birth on registration page in a case if there was some validation error triggered in backend. The main problem why it displays incorrectly is applying ONLY output filter to "DoB" value when the form input field are displayed. However when the form submitted correctly Magento applies both Input and Output filter.
\Magento\Customer\Block\Widget\Dob used in 2 templates: Magento/Customer/view/frontend/templates/form/register.phtml
Magento/Customer/view/frontend/templates/form/edit.phtml
Fixed Issues
Manual testing scenarios
Contribution checklist