Skip to content

Commit

Permalink
Merge pull request #523 from kerasai/CRM-21818
Browse files Browse the repository at this point in the history
CRM-21818: set timezone when initializing civicrm
  • Loading branch information
totten committed May 1, 2018
2 parents 71c8382 + 6fa4e94 commit 575ecea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Civicrm.php
Expand Up @@ -49,7 +49,7 @@ public function initialize() {
}

// Initialize the system by creating a config object
\CRM_Core_Config::singleton();
\CRM_Core_Config::singleton()->userSystem->setMySQLTimeZone();

// Mark CiviCRM as initialized.
$this->initialized = TRUE;
Expand Down

0 comments on commit 575ecea

Please sign in to comment.