0

I create a date attribute with date type as date. In the admin the date format is MM/DD/YYYY but when the date appears on the front-end of the product page the date format is DD/MM/YYYY

Any insight on how to get the front-end to match the admin would be great. Thank you for the help.

1 Answer 1

2

The way dates are formatted depends on the locale set in the shop. To change your locale you can check BE > System > Configuration > General > Locale tab and change the value of the Locale dropdown.

Optionally you can also configure date formatting for the catalog section in your shops from BE > System > Configuration > Catalog > Date & Time Custom Options.

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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