Forums

[SOLVED] DatePicker Setting Format: 'd-m-Y' does not work

Fritz 10 Nov, 2013
I've tried all combinations:
Format: 'd-m-Y'
Format: 'dd-mm-yyyy'
Format: '%d-%m-%Y'
[attachment=2]DatePicker-Format1.png[/attachment]

After selecting the day on datepicker, continues to show the English format. 😑
[attachment=1]DatePicker-Format2.png[/attachment]
[attachment=0]DatePicker-Format3.png[/attachment]

Chronoforms V4 RC3.5.3
MySQL: 5.1.72-2
PHP Version: 5.3.3-7+squeeze17
Joomla! 3.2.0 Stable over LAMP server
Rockettheme Template with Gantry v4.1.18
GreyHead 10 Nov, 2013
Hi Fritz,

Please use the MooTools datepicker (not the MonkeyPhysics one) and the parameter is format: '%d-%m-%Y' not Format: '%d-%m-%Y'

Bob
Fritz 10 Nov, 2013
Thank you Bob!
As you suggested, with mootools setting it works! :mrgreen:

I tried to not use the mootools library, because I thought it did not work well. In the version 3 of joomla seems that the support for this library will soon be discontinued and I wanted to prevent that a future update of joomla compromise me the chronoform.
GreyHead 10 Nov, 2013
Hi Fritz,

Both datepickers use the MooTools library. The older one has not been updated to work with the current versions of the library and therefore has some bugs.

Bob
This topic is locked and no more replies can be posted.