zigo928 / xtrabackup-manager

Automatically exported from code.google.com/p/xtrabackup-manager
Other
0 stars 0 forks source link

date_default_timezone_set() should be used to explicitly setup timezone driven by config.php #41

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
According to PHP documentation here: 
http://us2.php.net/manual/en/function.date-default-timezone-set.php

.. date_default_timezone_set() should be used to explicitly set the timezone 
used by date/time functions -- XBM uses this for logging purposes.

Need to add a configurable to config.php to set timezone and then call 
date_default_set_timezone a part of the init process.

Original issue reported on code.google.com by lachlan....@gmail.com on 3 Jan 2012 at 9:37

GoogleCodeExporter commented 8 years ago
Added a configurable to config.php that lets users override the timezone used 
for logging purposes. The default behaviour is to simply let PHP attempt to 
auto detect the timezone to use from the system.

So far this is only in my dev tree.

Original comment by lachlan....@gmail.com on 3 Jan 2012 at 10:58

GoogleCodeExporter commented 8 years ago
Fixed in r206.

Original comment by lachlan....@gmail.com on 6 Jan 2012 at 12:36