]> source.dussan.org Git - nextcloud-server.git/commitdiff
make use of new dateformat function
authorRobin Appelman <icewind1991@gmail.com>
Sat, 16 Apr 2011 18:39:52 +0000 (20:39 +0200)
committerRobin Appelman <icewind1991@gmail.com>
Sat, 16 Apr 2011 18:39:52 +0000 (20:39 +0200)
files/index.php

index 6d237ed615236ae56843f699f7fad2f7c42e56a2..a68ae9c0bb48b68e0e97d5c2ca303e9c3bd7af23 100644 (file)
@@ -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;
 }