Closed
Description
Preconditions
- Magento 2.1.5
- PHP 7
- MySQL 5.6
Steps to reproduce
- Set Backoffice to French locale : account settings ->language French (France)
- Modify a customer and set date of birthday (for example : 04/17/1973)
Expected result
- Customer validation with new DOB
Actual result
- Error message "Invalid date"
I found in Magento\Framework\Data\Form\Filter\Date class before line 65, the date value is okay, after the l.65, date value contains space chars. I think Zend_Filter_NormalizedToLocalized "filter" method insert spaces (as thousand separators). If I ignore this line, validation succeeds.