From e81545f8322e2a0ff87d0800cd1008b74ab1924a Mon Sep 17 00:00:00 2001 From: Dane Everitt Date: Thu, 25 Feb 2016 23:32:17 -0500 Subject: [PATCH] should fix timezone bug, closes #63 --- .env.example | 1 + config/app.php | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.env.example b/.env.example index 0b1e3d083..937baa664 100644 --- a/.env.example +++ b/.env.example @@ -2,6 +2,7 @@ APP_ENV=production APP_DEBUG=false APP_KEY=SomeRandomString3232RandomString APP_THEME=default +APP_TIMEZONE=UTC DB_HOST=localhost DB_PORT=3306 diff --git a/config/app.php b/config/app.php index 7b48ab0a3..14e16eff0 100644 --- a/config/app.php +++ b/config/app.php @@ -30,7 +30,7 @@ return [ | */ - 'url' => ENV('APP_URL', 'http://localhost'), + 'url' => env('APP_URL', 'http://localhost'), /* |-------------------------------------------------------------------------- @@ -43,7 +43,7 @@ return [ | */ - 'timezone' => ENV('APP_TIMEZONE', 'UTC'), + 'timezone' => env('APP_TIMEZONE', 'UTC'), /* |--------------------------------------------------------------------------