Skip to content
This repository was archived by the owner on Sep 10, 2021. It is now read-only.

Commit 65f5010

Browse files
committed
ENH: refs #267. Fixing timezones.
We don't all live in France :).
1 parent a6081f9 commit 65f5010

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/Bootstrap.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ protected function _initConfig()
5959

6060
$config = new Zend_Config_Ini(APPLICATION_CONFIG, $configGlobal->environment, true);
6161
Zend_Registry::set('config', $config);
62-
date_default_timezone_set('Europe/Paris');
62+
date_default_timezone_set($configGlobal->default->timezone);
6363

6464
// InitDatabase
6565
$configDatabase = new Zend_Config_Ini(DATABASE_CONFIG, $configGlobal->environment, true);

0 commit comments

Comments
 (0)