Where is the date format used? In your form or in any cformsII settings page? Is your WordPress installation set to use French?
Thread Starter
Obs
(@cucupidon)
Yes it’s a french wordpress. Date used in email reply to form submit.
Thanks
The {Date} variable in the email results in the date format that is set in your general WordPress settings. If you want a French date, set it there.
At this moment the date does not get sent properly. I have tried all the possible general date settings but it keeps answering in YYYY-MM-DD format.
@digibij: Which cformsII and WordPress versions do you use? In which mail is the {Date} variable not replaced correctly? Admin mail, cc mail or confirmation mail?
Maybe another plugin sets the default date locale to the YYYY-MM-DD value. Have you tried with all other plugins deactivated?
WP 4.8, plugin 14.13.3.
It is the one that gets sent to inform the webowner about the message. For testing I use the default form, supplemented by a HTML5 date field.
That didn’t change anything. Tried another date-format in general settings (27 June 2017), but the date keeps being sent like YYYY-MM-DD.
-
This reply was modified 8 years, 11 months ago by
DigiBij.
So you do not use the {Date} variable in your mail, I guess, but you want to change the output of your date field. For HTML5 date fields there is no built-in way to do this. I would suggest using the JavaScript date picker instead. By the way, HTML5 date browser support is not good. You do not have support for it in IE or Firefox.