From a08445227f1542aee184c9ff65bdae22055bbd5b Mon Sep 17 00:00:00 2001
From: Robin Appelman <icewind1991@gmail.com>
Date: Sat, 16 Apr 2011 20:39:52 +0200
Subject: [PATCH] make use of new dateformat function

---
 files/index.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;
 }
 
-- 
GitLab