mirror of
https://github.com/alexjustesen/speedtest-tracker.git
synced 2026-06-23 02:20:09 +00:00
fix: respect TZ env var as fallback for timezone config (#2753)
This commit is contained in:
committed by
GitHub
parent
144be5c0f5
commit
82831abb30
+2
-2
@@ -67,7 +67,7 @@ return [
|
||||
|
|
||||
*/
|
||||
|
||||
'timezone' => env('APP_TIMEZONE', 'UTC'),
|
||||
'timezone' => env('APP_TIMEZONE') ?? env('TZ', 'UTC'),
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
@@ -151,7 +151,7 @@ return [
|
||||
|
||||
'datetime_format' => env('DATETIME_FORMAT', 'M. j, Y g:ia'),
|
||||
|
||||
'display_timezone' => env('DISPLAY_TIMEZONE', 'UTC'),
|
||||
'display_timezone' => env('DISPLAY_TIMEZONE') ?? env('TZ', 'UTC'),
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user