I have change option date field format to d-m-Y but it is not working. I also have change the date format in language en-GB file. But still have this problem. I don't want date format Y-m-d. How to solve? Please help me.
Hi,
I have found a workaround, from 2014 we have implemented a language string for this. Unfortunately not all configurations are possible because the date must be interpreted by: Javascript -> PHP -> SQL
You can simply override language string, the constant is COM_JSN_DATE_INPUT_FORMAT, so follow these steps:
- Go to Administration->Languages->Override (left menu)
- Click on "New" button
- Create override with these values (like screenshot): Language Constant: COM_JSN_DATE_INPUT_FORMAT Text: dd-mm-yyyy
Values allowed for text are:
1) yyyy-mm-dd
2) yyyy/mm/dd
3) dd-mm-yyyy
4) dd/mm/yyyy
Any other value can return errors