Page 1 of 1

Re: News 2.0 and dateformat problem

Posted: Wed Aug 31, 2005 4:02 pm
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.

Re: News 2.0 and dateformat problem

Posted: Sat Sep 03, 2005 3:27 pm
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.