We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b9e72c0 + 99c14ca commit d68d598Copy full SHA for d68d598
config/database.php
@@ -45,7 +45,7 @@
45
'collation' => 'utf8mb4_unicode_ci',
46
'prefix' => env('DB_PREFIX', ''),
47
'strict' => env('DB_STRICT_MODE', false),
48
- 'timezone' => env('DB_TIMEZONE', Time::getMySQLTimezoneOffset(env('APP_TIMEZONE')))
+ 'timezone' => env('DB_TIMEZONE', Time::getMySQLTimezoneOffset(env('APP_TIMEZONE', 'UTC')))
49
],
50
51
/*
@@ -68,7 +68,7 @@
68
69
'prefix' => '',
70
'strict' => false,
71
72
73
74
0 commit comments