Hi all, If possible I would like to amend the date format in administration/templates/defaults/home.tpl. Currently the date format is 2014-05-30 09:15:38 How could I change this to UK format 30-05-2014 ???? I am assuming it is pulled from the following, but I am unsure how to change it <td class="{cycle values="row1,row2" advance=false}">{$entry.oProduct}</td> <td class="{cycle values="row1,row2" advance=false}">{$entry.total|format_money}</td> <td class="{cycle values="row1,row2" advance=false}">{$entry.oDate|date_format:$dateformat}</td> Many Thanks Jason
Jason, You set the date format in your administration "Regional Settings", separately for the front end ("Date Format") and the administration ("Administration Date Format") views. Administration/Settings/Settings/Regional Settings Online Documentation about this: Regional Settings OR if you just want to change it within the template modifier, then refer to the smarty documentation