make use of new dateformat function
This commit is contained in:
parent
a16c6fb804
commit
a08445227f
|
@ -41,7 +41,7 @@ $dir = isset( $_GET['dir'] ) ? $_GET['dir'] : '';
|
|||
|
||||
$files = array();
|
||||
foreach( OC_FILES::getdirectorycontent( $dir ) as $i ){
|
||||
$i["date"] = date( $CONFIG_DATEFORMAT, $i["mtime"] );
|
||||
$i["date"] = OC_UTIL::formatDate($i["mtime"] );
|
||||
$files[] = $i;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue