Skip to content

Commit 11e245b

Browse files
authored
Updated xml config
1 parent 0a25c17 commit 11e245b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

reference/configuration/twig.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,10 @@ TwigBundle Configuration ("twig")
8989
9090
<twig:global key="foo" id="bar" type="service" />
9191
<twig:global key="pi">3.14</twig:global>
92+
93+
94+
<twig:date format="d.m.Y, H:i:s" interval-format="%d days" timezone="Asia/Tokyo" />
95+
<twig:number-format decimals="2" decimal-point="," thousands-separator="." />
9296
9397
<twig:exception-controller>AcmeFooBundle:Exception:showException</twig:exception-controller>
9498
<twig:path namespace="foo_bar">%kernel.root_dir%/../vendor/acme/foo-bar/templates</twig:path>

0 commit comments

Comments
 (0)