diff --git a/.env.example b/.env.example index 35db1ddf0e0..08c85b3ff58 100644 --- a/.env.example +++ b/.env.example @@ -11,6 +11,8 @@ APP_FAKER_LOCALE=en_US APP_MAINTENANCE_DRIVER=file # APP_MAINTENANCE_STORE=database +APP_TIMEZONE=UTC + PHP_CLI_SERVER_WORKERS=4 BCRYPT_ROUNDS=12 diff --git a/config/app.php b/config/app.php index 423eed59f1d..28be821aae5 100644 --- a/config/app.php +++ b/config/app.php @@ -65,7 +65,7 @@ | */ - 'timezone' => 'UTC', + 'timezone' => env('APP_TIMEZONE', 'UTC'), /* |--------------------------------------------------------------------------