From 82831abb30b5784defbdc67241fe2f71f7593b07 Mon Sep 17 00:00:00 2001 From: Abdirahman Mohamed <91463101+ItsAbdiOk@users.noreply.github.com> Date: Sun, 19 Apr 2026 18:59:32 +0100 Subject: [PATCH] fix: respect TZ env var as fallback for timezone config (#2753) --- config/app.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/app.php b/config/app.php index 639fb488..eb8ed086 100644 --- a/config/app.php +++ b/config/app.php @@ -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'), /* |--------------------------------------------------------------------------