From 94fea1edadc37211228902f576c374bd0b45ef65 Mon Sep 17 00:00:00 2001 From: Igor Scheller Date: Tue, 4 Jun 2019 15:26:45 +0200 Subject: Use ini timezone setting --- config/config.default.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config') diff --git a/config/config.default.php b/config/config.default.php index fd4ff5a6..38d88acc 100644 --- a/config/config.default.php +++ b/config/config.default.php @@ -115,7 +115,7 @@ return [ 'max_freeloadable_shifts' => 2, // Local timezone - 'timezone' => env('TIMEZONE', 'Europe/Berlin'), + 'timezone' => env('TIMEZONE', ini_get('date.timezone') ?: 'Europe/Berlin'), // Multiply 'night shifts' and freeloaded shifts (start or end between 2 and 6 exclusive) by 2 'night_shifts' => [ -- cgit v1.2.3-54-g00ecf