[Solved] Date and time formatting
Posted: Sun Nov 13, 2011 10:54 am
I am having some problems with date and time formatting. I read somewhere that the cms_date_format
while "cms_date_format" is deprecated?
I am having problems with the formatting codes.... Are they not the Smarty standard codes? I am not using English locale and can not get the local formatting working. I can see my locale in the HTML but the date format is still English, for example when using
Code: Select all
{$entry->mydate|cms_date_format: '%d-%m-%Y'}
Code: Select all
{$mydate|date_format:'%d-%m-%Y'}
Code: Select all
{$mydate|date_format:'%c'}