Not sure, I've never tried. Maybe that can be set globally on the server side? But then, that might do weird things when submitting the form, as the frontend of the website would not be aware of the server side culture (e.g., some cultures may swap the order of the day and month), which could lead to parsing issues.
Setting DateTime Culture
Hello Nicholas
is there a way to configure culture for dateTime inputs ?
thank you
Angelo
Not sure, I've never tried. Maybe that can be set globally on the server side? But then, that might do weird things when submitting the form, as the frontend of the website would not be aware of the server side culture (e.g., some cultures may swap the order of the day and month), which could lead to parsing issues.
Maybe you could create a new specialized date time field and then you can customize it as you like: http://www.formulate.rocks/articles/custom-field-types
Can you tell what datetime plugin are you using ?
maybe it has some config or something ...
thank you
Angelo
IIRC, it's using the native date input: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/date
You can override the frontend to use something different. Or you can build an entirely new field type.
Ok Nicholas thank you :)
Angelo
is working on a reply...