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.

Type: Discussion
Status: In Progress
drichardson23
View Replies:
DeWebmakers replied on at Permalink Reply
DeWebmakers
drichardson23 replied on at Permalink Reply
drichardson23
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
stevegibbings replied on at Permalink Reply
stevegibbings
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?
stevegibbings replied on at Permalink Reply
stevegibbings
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.
DeWebmakers replied on at Permalink Reply
DeWebmakers
There seems to be no other way.
You'll have to change the jquery.ui.js...

Sorry
drichardson23 replied on at Permalink Reply
drichardson23
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.
jamesleech replied on at Permalink Reply
jamesleech
This works for me

Place the following in config/site.php
define('DATE_APP_DATE_PICKER','dd/mm/yy');
xigo replied on at Permalink Reply
xigo
Worked for me too - thanks James
ConcreteCMS replied on at Permalink Reply
ConcreteCMS
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.
adminEasy replied on at Permalink Reply
adminEasy
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?

concrete5 Environment Information

Browser User-Agent String

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.