oxy_datePicker - input format

Are you missing a feature? Request its implementation here.
bean1801
Posts: 2
Joined: Wed Jun 09, 2021 6:38 pm

oxy_datePicker - input format

Post by bean1801 »

I'm using a custom CSS with the oxy_datePicker() form control to ensure that dates are always persisted in format yyyy-MM-dd. This works of course fine.
But the "UI" that is offered to my authors for entering a date has a date format MM/dd/yyyy that is different from that. (See attachment)
oxy_datePicker.PNG
How can I influence the date format that my authors see and have to use when they enter a date? Is it derived from some system setting?
How can I ensure that the authors also have *enter* the date in format yyyy-MM-dd?
You do not have the required permissions to view the files attached to this post.
alex_jitianu
Posts: 1016
Joined: Wed Nov 16, 2005 11:11 am

Re: oxy_datePicker - input format

Post by alex_jitianu »

Hello,

Thank you for reporting this issue. At the time when we added the date picker, the SWT widget didn't have a way of imposing the date format. I will add an issue to investigate it again and see if the option is now present. I did a quick investigation and even if we can't impose a format we can still use a nicer widget that will make users not be affected by the format.
image.png
Meanwhile, you can use a Schematron rule to verify if the date respects the format.

Best regards,
Alex
You do not have the required permissions to view the files attached to this post.
Post Reply