diff --git a/.env.example b/.env.example index 63c40a9736..c40ef51eb9 100644 --- a/.env.example +++ b/.env.example @@ -3,6 +3,7 @@ APP_DEBUG=false APP_URL=http://ninja.dev APP_CIPHER=rijndael-128 APP_KEY +APP_TIMEZONE DB_TYPE=mysql DB_HOST=localhost @@ -17,4 +18,4 @@ MAIL_HOST MAIL_USERNAME MAIL_FROM_ADDRESS MAIL_FROM_NAME -MAIL_PASSWORD \ No newline at end of file +MAIL_PASSWORD diff --git a/config/app.php b/config/app.php index 48ffb7ef3a..e21f44ab0e 100644 --- a/config/app.php +++ b/config/app.php @@ -41,7 +41,7 @@ return [ | */ - 'timezone' => 'UTC', + 'timezone' => env('APP_TIMEZONE', 'UTC'), /* |--------------------------------------------------------------------------