mirror of
https://github.com/nextcloud/server.git
synced 2026-02-20 00:12:30 -05:00
make use of new dateformat function
This commit is contained in:
parent
a16c6fb804
commit
a08445227f
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue