mirror of
https://github.com/zhamao-robot/zhamao-framework.git
synced 2026-07-02 14:25:38 +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'));
|
||
|
|
}
|
||
|
|
}
|