Page 1 of 1
date format in the News module
Posted: Wed Aug 09, 2006 11:13 pm
by VoViaN
How van I change date format from MM/DD/YY to DD/MM/YY in the News module? I use cmsms 1.0b3. Thank you!
Re: date format in the News module
Posted: Thu Aug 10, 2006 5:27 am
by cyberman
News module has a parameter to format the date - please look at modules help.
For the parameters look here
http://de2.php.net/manual/en/function.date.php
Re: date format in the News module
Posted: Wed Aug 16, 2006 9:58 pm
by djkirstyjay
Hi, I want to know this too... where can I find the parameter in the news module? I've looked through the code and can't see it. Can you tell me what line it's on?
Re: date format in the News module
Posted: Mon Aug 21, 2006 3:29 pm
by waldek
Hi,
I've problem with date format:
I've set: {cms_module module='news' number='5' dateformat="%d-%m-%Y"}
so, the date format is: 09-06-2006
It works for News Summary, but in News Detail - I've still have the default format: 08/21/2006
Why doesn't it work for both?
(CMSMS 0.13 News 2.0.3)
Re: date format in the News module
Posted: Fri Mar 30, 2007 1:01 pm
by contented
A bit late, but still relevant.
The trick is to put the formatting by going to Content >> News. Then click on the options tab and enter the following code into the box for the date format
That should give you day date month year every time.
Cheers,
C
