}
if (! ini_get('date.timezone') && function_exists('date_default_timezone_set')) {
- date_default_timezone_set('UTC');
+ // Library hack. See MDL-42808.
+ // date_default_timezone_set('UTC');
}
// hack around with the include paths a bit so the library 'just works'
If you upgrade the library, please check if the method Google_CurlIO::makeRequest()
has been updated and would require change in moodle_google_curlio.
+Library hack
+------------
+
+* The file Google_Client.php resets the timezone to UTC. The line
+ date_default_timezone_set('UTC'); should be commented out. See MDL-42808.
+
Information
-----------