mirror of
https://github.com/zhamao-robot/zhamao-framework.git
synced 2026-03-17 12:44:51 +08:00
16 lines
291 B
PHP
16 lines
291 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace ZM\Bootstrap;
|
|
|
|
use ZM\HasRuntimeInfo;
|
|
|
|
class SetInternalTimezone implements Bootstrapper
|
|
{
|
|
public function bootstrap(HasRuntimeInfo $runtime_info): void
|
|
{
|
|
date_default_timezone_set(config('global.runtime.timezone', 'UTC'));
|
|
}
|
|
}
|