Issues with date formats and date picker

PHPM20 0.11

Hi all,

My dates even are formatted in locale json file as Ymd with - separator it shows in / I use 2 locales en.json and es.json both are set this way, any language I choose it sets to /

The other thing is that the date/time picker even I am using a date fields when selecting date will put time also, and it forces me to ENTER to the calendar to set, I cannot just type my desired date.

Does any one have a solution or a way to identify the issue ?

thanks

My dates even are formatted in locale json file as Ymd with - separator it shows in / I use 2 locales en.json and es.json both are set this way

Make sure your language id in your language files are also “en” and “es”. In the original en.json and es.json (under C:\Program Files (x86)\PHPMaker 2020\locales), the date separators are “/”. If you customize, make sure customize the *.json files under C:\Program Files (x86)\PHPMaker 2020\locales, not in the generated folder (\locale).

The other thing is that the date/time picker even I am using a date fields when selecting date will put time also, and it forces me to ENTER to the calendar to set, I cannot just type my desired date.

You may set the date time format under View Tag panel (see the topic Field Setup → View Tag → Date/Time in the help file). If you don’t need time, select a format without time. The date time picker is only a popup, you can still freely type in the text input, make sure you have not added other jQuery plugin as mask.

PHPM20 0.11
You should update to the latest version (even your problems are not due to old version).