forked from science-ation/science-ation
Switch important_dates to use dateformat and timeformat config vars
This commit is contained in:
parent
3d33d976c3
commit
597a21da3a
@ -34,8 +34,7 @@
|
|||||||
if($r->date == '0000-00-00 00:00:00')
|
if($r->date == '0000-00-00 00:00:00')
|
||||||
$d = i18n("not specified");
|
$d = i18n("not specified");
|
||||||
else
|
else
|
||||||
$d = $r->date;
|
$d = date($config['dateformat']." ".$config['timeformat'],$r->udate);
|
||||||
//$d = strftime("%a %b %e, %Y, %H:%M", $r->udate);
|
|
||||||
echo "<tr class=\"$trclass\"><td>".i18n($r->description)."</td><td>$d</td></tr>";
|
echo "<tr class=\"$trclass\"><td>".i18n($r->description)."</td><td>$d</td></tr>";
|
||||||
}
|
}
|
||||||
echo "</table>";
|
echo "</table>";
|
||||||
|
Loading…
Reference in New Issue
Block a user