Commit d2b295d2 authored by John Long's avatar John Long

Fix timezone not setting to Los_Angeles

Ticket: N/A
parent 3a62ba5b
Pipeline #64216864 passed with stages
in 2 minutes and 1 second
...@@ -3,7 +3,10 @@ APP_ENV=local ...@@ -3,7 +3,10 @@ APP_ENV=local
APP_KEY= APP_KEY=
APP_DEBUG=true APP_DEBUG=true
APP_URL=http://localhost APP_URL=http://localhost
APP_TIMEZONE=UTC
# As Stitcher appears to return timestamps relative to the Pacific
# Timezone, treat all dates as Pacific.
APP_TIMEZONE=America/Los_Angeles
LOG_CHANNEL=stack LOG_CHANNEL=stack
LOG_SLACK_WEBHOOK_URL= LOG_SLACK_WEBHOOK_URL=
......
...@@ -2,10 +2,6 @@ ...@@ -2,10 +2,6 @@
require_once __DIR__.'/../vendor/autoload.php'; require_once __DIR__.'/../vendor/autoload.php';
// As Stitcher appears to return timestamps relative to the Pacific
// Timezone, treat all dates as Pacific.
date_default_timezone_set('America/Los_Angeles');
(new Laravel\Lumen\Bootstrap\LoadEnvironmentVariables( (new Laravel\Lumen\Bootstrap\LoadEnvironmentVariables(
dirname(__DIR__) dirname(__DIR__)
))->bootstrap(); ))->bootstrap();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment