From 597a21da3a0d0bef4337a6559ea6e02016e4d980 Mon Sep 17 00:00:00 2001 From: james Date: Mon, 18 Aug 2008 21:41:24 +0000 Subject: [PATCH] Switch important_dates to use dateformat and timeformat config vars --- important_dates.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/important_dates.php b/important_dates.php index 818891d..cf53970 100644 --- a/important_dates.php +++ b/important_dates.php @@ -34,8 +34,7 @@ if($r->date == '0000-00-00 00:00:00') $d = i18n("not specified"); else - $d = $r->date; - //$d = strftime("%a %b %e, %Y, %H:%M", $r->udate); + $d = date($config['dateformat']." ".$config['timeformat'],$r->udate); echo "".i18n($r->description)."$d"; } echo "";