[Solved] News date formatting?
Posted: Thu Jan 15, 2009 10:23 am
I would like to change the News module date format from:
jan 15, 2009 ...to... 15-01-2009
But I can't figure out how to do this.
I'm using CMS MS 1.5.1 and News 2.9.1 and in my news-template I use: {$entry->postdate|cms_date_format}
I've searched the forum and found this code: {news number="2" dateformat=" %d %B %Y"} but then I get this error: Warning: Parameter dateformat is not known... dropped in /home/www/mydomain.com/lib/misc.functions.php
I've found other solutions as well but with same error result.
Any ideas?
Thanks in advance.
jan 15, 2009 ...to... 15-01-2009
But I can't figure out how to do this.
I'm using CMS MS 1.5.1 and News 2.9.1 and in my news-template I use: {$entry->postdate|cms_date_format}
I've searched the forum and found this code: {news number="2" dateformat=" %d %B %Y"} but then I get this error: Warning: Parameter dateformat is not known... dropped in /home/www/mydomain.com/lib/misc.functions.php
I've found other solutions as well but with same error result.
Any ideas?
Thanks in advance.