diff --git a/src/Bootstrap.php b/src/Bootstrap.php index 71daaa4d..14e9360c 100644 --- a/src/Bootstrap.php +++ b/src/Bootstrap.php @@ -10,6 +10,7 @@ final class Bootstrap public static function init($startTime) { self::$startTime = $startTime; + self::setTimezone(); self::turnErrorsIntoExceptions(); self::initAutoloader(); } @@ -19,6 +20,11 @@ final class Bootstrap return self::$startTime; } + private static function setTimezone() + { + date_default_timezone_set('UTC'); + } + private static function initAutoloader() { require(__DIR__