summaryrefslogtreecommitdiffstats
path: root/files/index.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind1991@gmail.com>2011-04-16 20:39:52 +0200
committerRobin Appelman <icewind1991@gmail.com>2011-04-16 20:39:52 +0200
commita08445227f1542aee184c9ff65bdae22055bbd5b (patch)
tree4a759111fc33f0ee738db74617760ce354951212 /files/index.php
parenta16c6fb804d03ab06ac88a751b50127c3c29c440 (diff)
downloadnextcloud-server-a08445227f1542aee184c9ff65bdae22055bbd5b.tar.gz
nextcloud-server-a08445227f1542aee184c9ff65bdae22055bbd5b.zip
make use of new dateformat function
Diffstat (limited to 'files/index.php')
-rw-r--r--files/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/index.php b/files/index.php
index 6d237ed6152..a68ae9c0bb4 100644
--- a/files/index.php
+++ b/files/index.php
@@ -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;
}