Problem:
My site is in French and the setted language of my WordPress is French too but the date format of my date field in CRED form is still in English. I would like it to be displayed as "j F Y".
Solution:
Cred date picker supports following date format:
$_supported_date_formats = array('F j, Y', //December 23, 2011
'Y/m/d', // 2011/12/23
'm/d/Y', // 12/23/2011
'd/m/Y' // 23/22/2011
);
You can see it in CRED source code, file cred-frontend-editor\embedded\classes\CredForm.php, line 45~49.
So CRED does not support the date format: j F Y
Relevant Documentation:
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
- | 9:00 – 13:00 | 9:00 – 13:00 | 9:00 – 13:00 | 9:00 – 13:00 | 9:00 – 13:00 | - |
- | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | - |
Supporter timezone: Asia/Hong_Kong (GMT+08:00)
This topic contains 3 replies, has 2 voices.
Last updated by Luo Yang 6 years, 8 months ago.
Assisted by: Luo Yang.