Skip to content

Commit 44cee2b

Browse files
committed
Implemented: FS#2125 - Installer: find out correct timezone
1 parent 06d1ced commit 44cee2b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

install/install.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,10 @@
104104

105105
//** Select the language and set default timezone
106106
$conf['language'] = $inst->simple_query('Select language', array('en','de'), 'en');
107-
$conf['timezone'] = 'UTC';
107+
108+
exec('date +%Z', $tmp_out);
109+
$conf['timezone'] = $tmp_out[0];
110+
unset($tmp_out);
108111

109112
//** Select installation mode
110113
$install_mode = $inst->simple_query('Installation mode', array('standard','expert'), 'standard');

0 commit comments

Comments
 (0)