Hi there
Modules such as Events and News are showing the dates in a non UK way in the backend. The display templates all use the cms_date_format modifier.
I thought that the setting in Site Admin -> Global settings -> General -> Date Format String was there to set the default for this behaviour.
However, whatever I add here makes no difference to the date formats in the back end.
I have also tried My Preferences - > User Preferences -> Date Format String but this makes no difference either.
The setting I have tried is %d/%m/%Y
Am I missing something here or do I really have to use module_custom to amend all the backend display templates with a specific format.
I am using cmsms 1.9.4.2
Many thanks
Nik
[ADDED LATER]
It turns out the code in the module template actually had a specific date format applied. Using module_custom to modify the template solved the issue. The answer below would not have helped. Thanks.
[solved] cms_date_format - ignored by modules
[solved] cms_date_format - ignored by modules
Last edited by NikNak on Sat Jul 23, 2011 9:38 am, edited 1 time in total.
Re: cms_date_format - ignored by modules
You may have gone on to other things by now, but I just had to work this problem out myself, so in case anyone else is interested, here it is.
You do not have to modify your code or write your own UDT to replace the {cms_date_format} tag. What you do instead is in Site Admin, Global Settings, on the General tab, go down to "Date Format String", and enter your choice there.
Happy CMS'ing,
Steve
You do not have to modify your code or write your own UDT to replace the {cms_date_format} tag. What you do instead is in Site Admin, Global Settings, on the General tab, go down to "Date Format String", and enter your choice there.
Happy CMS'ing,
Steve