Commit da860c8a authored by Marius Cramer's avatar Marius Cramer
Browse files

Fixed timezone recognition

parent 332ae547
......@@ -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;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment