Page 1 of 1

date format?

Posted: Fri 12. Nov 2004, 23:03
by u195819
when using {DATE_ARTICLE} i get the format to display like 2004/11/12

how can i get the format to be 11/12/2004?

thanks,

jm

Posted: Fri 12. Nov 2004, 23:10
by Pappnase
hello

look into the conf.template_default.inc.php line 159
// date and time formatting
$template_default["date"]["language"] = "DE"; // DE=German, IT=Italian, FR=French
$template_default["date"]["long"] = "l, j. F Y"; // (Monday, 1. October 2003)
$template_default["date"]["medium"] = "D, j. M y"; // (Mon, 1. Oct 03)
$template_default["date"]["short"] = "Y/m/d"; // (2003/12/25)
$template_default["date"]["article"] = "Y/m/d"; // (2003/12/25)
$template_default["time"]["long"] = "H:i:s"; // 15:25:45
$template_default["time"]["short"] = "H:i"; // 15:25

Posted: Sat 13. Nov 2004, 00:25
by u195819
Prefect - Much Thanks!

jm

Posted: Sat 13. Nov 2004, 06:58
by Pappnase
hello

i updated the docu for this time and date formatting things!

http://www.phpwcms-docu.de/system_tags.phtml