News 2.0 and dateformat problem

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

Re: News 2.0 and dateformat problem

Post by Ted »

dateformat has a bug in it.  It's on my todo list.  There is a way that you can modify it via the Summary Template.  Quick search in the forums should find it for you.
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

Re: News 2.0 and dateformat problem

Post by Ted »

Look for:

Code: Select all

{$entry->postdate|date_format}
Fill it with the parameters found on: http://smarty.php.net/manual/en/languag ... format.php

so that it looks something like:

Code: Select all

{$entry->postdate|date_format:"%d,%m,%Y"}
Sorry, I was a little preoccupied when I posted that reply.
Post Reply

Return to “CMSMS Core”