date format in the News module
date format in the News module
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
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
For the parameters look here
http://de2.php.net/manual/en/function.date.php
-
- Forum Members
- Posts: 206
- Joined: Tue Oct 25, 2005 4:50 pm
Re: date format in the News module
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
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)
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)
Last edited by waldek on Mon Aug 21, 2006 3:31 pm, edited 1 time in total.
Re: date format in the News module
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

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
Code: Select all
%A %e %B %Y
Cheers,
C
