Set default timezone to prevent stupid test errors
This commit is contained in:
parent
672552a1e8
commit
ead6f8b487
@ -6,6 +6,14 @@
|
|||||||
use Aviat\Ion\Json;
|
use Aviat\Ion\Json;
|
||||||
use Aviat\AnimeClient\AnimeClient;
|
use Aviat\AnimeClient\AnimeClient;
|
||||||
|
|
||||||
|
// Work around the silly timezone error
|
||||||
|
$timezone = ini_get('date.timezone');
|
||||||
|
if ($timezone === '' || $timezone === FALSE)
|
||||||
|
{
|
||||||
|
ini_set('date.timezone', 'GMT');
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
// -----------------------------------------------------------------------------
|
// -----------------------------------------------------------------------------
|
||||||
// Global functions
|
// Global functions
|
||||||
// -----------------------------------------------------------------------------
|
// -----------------------------------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user