mirror of
https://github.com/zhamao-robot/zhamao-framework.git
synced 2026-07-22 08:05:34 +08:00
14 lines
228 B
PHP
14 lines
228 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace ZM\Bootstrap;
|
|
|
|
class SetInternalTimezone
|
|
{
|
|
public function bootstrap(array $config): void
|
|
{
|
|
date_default_timezone_set(config('global.runtime.timezone', 'UTC'));
|
|
}
|
|
}
|