Date picker Calendar shows wrong date format

Hi,

In my project’s locale file en.json has been changed to “dmY” but the datefield in my project shows very weird behavior.
problem,

When current date is 13/02/2020 then the date format at date field show correctly however, if current date is 12/02/2020 the date field will become 02/12/2020 (shows December 2nd but it supposed to be February 12th)

Please advice

Thanks,
Wilson

Did you load the date value from the database or from a default value? For the default value, make sure that you format it as “yyyy/MM/dd”.

It works after set date format to “yyyy/MM/dd” on the default value.
Thanks,
Wilson