0

By default the date format is mm/dd/yyyy when new member register.

How can I change the date format of birthday field to dd/mm/yyyy?

I have tried to change locale to EN_UK, EN Canada, and also tried to change date format in Store > Configuration > Catalogue but after all changes seems they won't affect the date format for member registration.

0

It is still a open issue

DatePicker date format does not reflect user's locale, to fix it you may update

Magento/Ui/view/base/web/js/lib/knockout/bindings/datepicker.js

  • Thank you leo. I can locate this file, together with the range.js in /vendor/magento/module-ui/view/base/web/js/grid/filters that also has predefined date format of mm/dd/yyyy. I changed both of them to dd/mm/yyyy already but seems the date picker is still using the mm/dd/yyyy format – thomas chan Dec 25 '17 at 4:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.