diff --git a/.env.example b/.env.example index d2948659c..043d5530e 100644 --- a/.env.example +++ b/.env.example @@ -36,6 +36,7 @@ APP_NAME=NNTmux APP_ENV=production APP_DEBUG=false APP_URL= +APP_TZ= APP_LOG= APP_LOG_LEVEL=debug APP_KEY= diff --git a/Changelog b/Changelog index eb4b7c9e6..61a5a2bf6 100755 --- a/Changelog +++ b/Changelog @@ -1,3 +1,5 @@ +2017-08-25 DariusIII + * Chg: Add timezone setting as editable in .env file 2017-08-24 DariusIII * Fix: Fix category_regexes-edit page * Chg: Update category_regexes-edit.php diff --git a/config/app.php b/config/app.php index 46ccffb22..ed55135b0 100644 --- a/config/app.php +++ b/config/app.php @@ -64,7 +64,7 @@ return [ | */ - 'timezone' => 'UTC', + 'timezone' => env('APP_TZ', 'UTC'), /* |--------------------------------------------------------------------------