-
Notifications
You must be signed in to change notification settings - Fork 9.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fs/error on dob #26814
Fs/error on dob #26814
Conversation
Merge 2.4-develop to forked repo
Hi @sertlab. Thank you for your contribution
For more details, please, review the Magento Contributor Guide documentation. |
@sertlab unfortunately, only members of the maintainers team are allowed to assign developers to the pull request |
@sertlab Can you run test case for class |
Hi @sertlab I believe the momentJS equivalent of |
Hi @sertlab |
Hi @sertlab |
Hi @sertlab, thank you for your contribution! |
This PR fixes this issue
#26700
How to test
Actual Result
Registration fails with message (under the calendar) "Please select a valid date"
Expected Result
Registration should be complete
What changed
preg_replace() modified in order moment js to accept the date format value
as it seems moment(date,'M/d/Y').isValid() returns false
but now moment(date,'M/dd/Y').isValid() returns true