tweak date format

This commit is contained in:
Eric House 2012-03-01 18:16:04 -08:00
parent 9194bbe4b1
commit 49b04257d3

View file

@ -7,7 +7,7 @@
<?php <?php
include "pwd.php"; include "pwd.php";
$limit = 10; $limit = 50;
class Column { class Column {
public $colname; public $colname;
@ -87,7 +87,7 @@ function strip_quotes($str) {
function print_date( $str ) { function print_date( $str ) {
$str = strip_quotes( $str ); $str = strip_quotes( $str );
$time = strtotime( $str ); $time = strtotime( $str );
return strftime( "%x@%R", $time ); return strftime( "%y%m%d %R", $time );
} }
$cols = array( new Column("dead", "D", "capitalize", false ), $cols = array( new Column("dead", "D", "capitalize", false ),