summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorIgor Scheller <igor.scheller@igorshp.de>2019-06-04 15:26:45 +0200
committermsquare <msquare@notrademark.de>2019-06-04 21:21:34 +0200
commit94fea1edadc37211228902f576c374bd0b45ef65 (patch)
tree446c4bd605639373177b55a2b9a8bb2e8e3f3845 /config
parent236197faf82073e3b8afca49161898eb60cee76b (diff)
Use ini timezone setting
Diffstat (limited to 'config')
-rw-r--r--config/config.default.php2
1 files changed, 1 insertions, 1 deletions
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' => [