Page 1 of 1

US Date system - how can I change to UK?

Posted: Wed Jun 14, 2006 2:26 pm
by scotch33
Hi,

Oh those pesky Americans! Does anyone know whow I can go about changing the MM/DD/YYYY US format to a good old DD/MM/YYYY tea and cake consuming, queen loving, UK date format?

Thanks!

Scotch

Re: US Date system - how can I change to UK?

Posted: Wed Jun 14, 2006 3:02 pm
by calguy1000
scotch?  Date format where, in the news module?

Re: US Date system - how can I change to UK?

Posted: Thu Jun 15, 2006 9:59 am
by scotch33
Hi mate,

Yeah - the one in the news / plus the calendar module

Re: US Date system - how can I change to UK?

Posted: Thu Jun 15, 2006 10:35 am
by cyberman
Please read the module help - there's a parameter named dateformat. It should helps ...

Re: US Date system - how can I change to UK?

Posted: Thu Jun 15, 2006 10:37 am
by cdstg
Hi in the news module you can pass it

{cms_module module="news" number="5" category="beer" dateformat="%d %b , %Y"}
that would be day month year
or even beter %d %B %Y that would be like 9 June 2006

is the calander the rob@akrabat.com one ? as you may have to edit the templates for that

Re: US Date system - how can I change to UK?

Posted: Thu Jun 15, 2006 11:15 am
by scotch33
Thanks guys!

Re: US Date system - how can I change to UK?

Posted: Thu Jun 15, 2006 12:19 pm
by Russ
You might also want to consider ISO standard universal date formats e.g. yyyy/mm/dd ? Makes sense on sorting and you can allways include a more readable 16th June 2006?

Just an idea...

Russ