Set default timezone to prevent stupid test errors
This commit is contained in:
parent
c0c90eb565
commit
23fa88bb33
@ -6,6 +6,14 @@
|
||||
use Aviat\Ion\Json;
|
||||
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
|
||||
// -----------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user