fix: adds default timezone, supports TZ environment variable for changing TZ, renders dates based on TZ
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
twig:
|
||||
file_name_pattern: '*.twig'
|
||||
date:
|
||||
timezone: '%env(default:app.default.timezone:TZ)%'
|
||||
|
||||
when@test:
|
||||
twig:
|
||||
|
||||
@@ -21,6 +21,9 @@ parameters:
|
||||
app.cache.adapter.default: 'filesystem'
|
||||
app.cache.redis.host.default: 'redis://redis'
|
||||
|
||||
# Various configs
|
||||
app.default.timezone: 'America/Chicago'
|
||||
|
||||
services:
|
||||
# default configuration for services in *this* file
|
||||
_defaults:
|
||||
|
||||
Reference in New Issue
Block a user