mirror of
https://github.com/zhamao-robot/zhamao-framework.git
synced 2026-03-17 20:54:52 +08:00
12 lines
202 B
PHP
12 lines
202 B
PHP
|
|
<?php
|
||
|
|
|
||
|
|
namespace ZM\Bootstrap;
|
||
|
|
|
||
|
|
class SetInternalTimezone
|
||
|
|
{
|
||
|
|
public function bootstrap(array $config): void
|
||
|
|
{
|
||
|
|
date_default_timezone_set(config('global.runtime.timezone', 'UTC'));
|
||
|
|
}
|
||
|
|
}
|