Skip to content
Snippets Groups Projects
Commit da860c8a authored by Marius Cramer's avatar Marius Cramer
Browse files

Fixed timezone recognition

parent 332ae547
No related branches found
No related tags found
2 merge requests!46Master,!17Stable 3.0.5
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment