Skip Navigation

[Résolu] How can I change the Cred Post Form Date Format

Ce fil est résolu. Voici une description du problème et la solution proposée.

Problem: I would like to use a different date format when displaying the selected dates in a Form.

Solution: The following date formats are supported in Toolset Forms:
F j, Y = December 23, 2011
Y/m/d = 2018/12/24
m/d/Y = 12/24/2018
d/m/Y = 24/12/2018
j F Y = 24 December 2018

If you choose one of these formats in Settings > Global, it will be used for the date field. Other formats are not currently supported. You may be able to use custom code to specify your own date format using the jQuery datepicker API, but support for implementing other formats is not available here in the forums.

Relevant Documentation:
http://api.jqueryui.com/datepicker/#option-dateFormat

This support ticket is created Il y a 5 années et 8 mois. There's a good chance that you are reading advice that it now obsolete.

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.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

Marqué : 

This topic contains 2 réponses, has 2 voix.

Last updated by Adnan Il y a 5 années et 8 mois.

Assisted by: Christian Cox.

Auteur
Publications
#1071509
toolset-1--post-form-date-field.jpg

I am trying to: use a date field in the post form

Link to a page where the issue can be seen:
hidden link

I expected to see: a Date that is formated like 10. August 2018

Instead, I got: August 10, 2018

maybe you have an idea. thank you

#1071577

Hi, Forms date fields support the following formats:
F j, Y = December 23, 2011
Y/m/d = 2018/12/24
m/d/Y = 12/24/2018
d/m/Y = 24/12/2018
j F Y = 24 December 2018

If you choose one of these formats in Settings > Global, it will be used for the date field. Other formats are not currently supported. You may be able to use custom code to specify your own date format using the jQuery datepicker API, but support for implementing other formats is not available here in the forums.
http://api.jqueryui.com/datepicker/#option-dateFormat

Feel free to create a new ticket using the "Suggest an improvement" feature here in the forum if you'd like to request support for additional date formats. Our developers will evaluate the request and let you know if it's something we can implement.

#1072525

Thank you Christian.

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.