mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-14 08:01:38 +01:00
tweak date format
This commit is contained in:
parent
9194bbe4b1
commit
49b04257d3
1 changed files with 2 additions and 2 deletions
|
@ -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 ),
|
||||||
|
|
Loading…
Reference in a new issue