European Date Format
Permalink Browser Info Environment
Hi,
Just purchased the Extended Form module. One small question - how do I change the date format on the date picker to euro format (d/m/y) rather than American (m/d/y) - does it use the values set in Concrete Core?
Thanks in advance.
Just purchased the Extended Form module. One small question - how do I change the date format on the date picker to euro format (d/m/y) rather than American (m/d/y) - does it use the values set in Concrete Core?
Thanks in advance.
Type: | Discussion |
---|---|
Status: | In Progress |
Hi,
Thanks for that - changing date_time.php and updating DATE_APP_GENERIC_MDY in site.php don't seem to have any effect?
However changing mm/dd/yy to dd/mm/yy in jquery.ui.js seems to work!
Thanks again
Thanks for that - changing date_time.php and updating DATE_APP_GENERIC_MDY in site.php don't seem to have any effect?
However changing mm/dd/yy to dd/mm/yy in jquery.ui.js seems to work!
Thanks again
The support ticket link for the date format is broken, can you post the details or give a new link please?
Also does the comment by drichardson23 about having to alter the jquery.ui.js make any sense?
Also does the comment by drichardson23 about having to alter the jquery.ui.js make any sense?
Ah, the php setting does change the default date format but when selecting a new date from the calendar it goes back to mm/dd/yyyy format. How do I change that too? I don't want to edit the jquery.ui.js.
There seems to be no other way.
You'll have to change the jquery.ui.js...
Sorry
You'll have to change the jquery.ui.js...
Sorry
To confirm, after much head scratching editing jquery.ui.js was the only way I could get it to display the Euro date format.
Cheers.
Cheers.
This works for me
Place the following in config/site.php
define('DATE_APP_DATE_PICKER','dd/mm/yy');
Place the following in config/site.php
define('DATE_APP_DATE_PICKER','dd/mm/yy');
Worked for me too - thanks James
Attention: Since there has been no activity on this issue for two weeks, this issue has been automatically archived.
To re-open this issue, reply to this message.
To re-open this issue, reply to this message.
Guy's
Apologies if this has been discussed to death, but I have an issue changing the date format of the AF date picker. In DD it produces yymmdd, and of course I want it the other way around.
I have made all the site.php changes, and my timestamps etc are fine.
Is there something else I need to change?
Apologies if this has been discussed to death, but I have an issue changing the date format of the AF date picker. In DD it produces yymmdd, and of course I want it the other way around.
I have made all the site.php changes, and my timestamps etc are fine.
Is there something else I need to change?
Take a look at this support ticket:
http://www.concrete5.org/marketplace/addons/extended-form/support/d...