summaryrefslogtreecommitdiffstats
path: root/files/index.php
diff options
context:
space:
mode:
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;
}