I'm trying to build a date input field with following functionality:
- Date can be manually typed using format dd.mm.yyyy
- Date can be selected using datepicker (which should output the date in dd.mm.yyyy format)
The problem is that the date field only accepts dashes (-) as a separator so the date must be entered using format mm-dd-yyyy. Also, when a date is selected using datepicked, it is outputted in mm-dd-yyyy format.
How can I change the format to dd.mm.yyyy? I tried to change the format settings but it had no effect.
My settings:
I'm using Processwire 2.3.0.
EDIT: The datepicker works correctly in admin section but not in my front-end custom page.