mirror of
https://github.com/zhamao-robot/zhamao-framework.git
synced 2026-07-22 08:05:34 +08:00
orgianze bootstrapper
This commit is contained in:
11
src/ZM/Bootstrap/SetInternalTimezone.php
Normal file
11
src/ZM/Bootstrap/SetInternalTimezone.php
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
namespace ZM\Bootstrap;
|
||||
|
||||
class SetInternalTimezone
|
||||
{
|
||||
public function bootstrap(array $config): void
|
||||
{
|
||||
date_default_timezone_set(config('global.runtime.timezone', 'UTC'));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user