diff --git a/.env.example b/.env.example index dd26b20a093f..b7d3adcd5f6d 100644 --- a/.env.example +++ b/.env.example @@ -3,6 +3,7 @@ APP_DEBUG=true 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 48ffb7ef3abe..e21f44ab0e85 100644 --- a/config/app.php +++ b/config/app.php @@ -41,7 +41,7 @@ return [ | */ - 'timezone' => 'UTC', + 'timezone' => env('APP_TIMEZONE', 'UTC'), /* |--------------------------------------------------------------------------