diff options
author | Robin Appelman <icewind1991@gmail.com> | 2011-04-16 20:39:52 +0200 |
---|---|---|
committer | Robin Appelman <icewind1991@gmail.com> | 2011-04-16 20:39:52 +0200 |
commit | a08445227f1542aee184c9ff65bdae22055bbd5b (patch) | |
tree | 4a759111fc33f0ee738db74617760ce354951212 /files/index.php | |
parent | a16c6fb804d03ab06ac88a751b50127c3c29c440 (diff) | |
download | nextcloud-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.php | 2 |
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; } |