Switch important_dates to use dateformat and timeformat config vars

This commit is contained in:
james 2008-08-18 21:41:24 +00:00
parent 3d33d976c3
commit 597a21da3a

View File

@ -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 "<tr class=\"$trclass\"><td>".i18n($r->description)."</td><td>$d</td></tr>";
}
echo "</table>";