From da860c8a8e7f4f10dea89cabddaf9f77cc76665a Mon Sep 17 00:00:00 2001 From: Marius Cramer <m.cramer@pixcept.de> Date: Thu, 5 Dec 2013 19:30:52 +0100 Subject: [PATCH] Fixed timezone recognition --- install/lib/install.lib.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/install/lib/install.lib.php b/install/lib/install.lib.php index 30ba04ea11..eac79e9872 100644 --- a/install/lib/install.lib.php +++ b/install/lib/install.lib.php @@ -811,6 +811,8 @@ function get_system_timezone() { exec('date +%Z', $tzinfo); $timezone = $tzinfo[0]; } + + if(substr($timezone, 0, 1) === '/') $timezone = substr($timezone, 1); return $timezone; } -- GitLab