summaryrefslogtreecommitdiffstats
path: root/files/index.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind1991@gmail.com>2011-06-05 15:13:03 +0200
committerRobin Appelman <icewind1991@gmail.com>2011-06-05 15:13:03 +0200
commitd65f8bba73971e33a93e99d21ba791dec8056a28 (patch)
treec2d6c44d1a1b79849787ccc6d738c071e659421d /files/index.php
parentbc0790381e9cf02545bf4b2945c70c246008671f (diff)
downloadnextcloud-server-d65f8bba73971e33a93e99d21ba791dec8056a28.tar.gz
nextcloud-server-d65f8bba73971e33a93e99d21ba791dec8056a28.zip
try to adjust times to the clients timezone
Diffstat (limited to 'files/index.php')
-rw-r--r--files/index.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/files/index.php b/files/index.php
index d796583a4ae..a163895131e 100644
--- a/files/index.php
+++ b/files/index.php
@@ -37,6 +37,9 @@ OC_UTIL::addStyle( "files", "files" );
OC_UTIL::addScript( "files", "files" );
OC_UTIL::addScript( 'files', 'filelist' );
OC_UTIL::addScript( 'files', 'fileactions' );
+if(!isset($_SESSION['timezone'])){
+ OC_UTIL::addScript( 'files', 'timezone' );
+}
OC_APP::setActiveNavigationEntry( "files_index" );
// Load the files
$dir = isset( $_GET['dir'] ) ? $_GET['dir'] : '';