mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-07-03 15:36:14 +00:00
enable twig intl extension
This extension allow bundles to format date and number according to localization. We would like to use this to format date : ``` twig date|localizeddate('medium', none) ``` refs #272 [documentation of the extension](http://twig.sensiolabs.org/doc/extensions/intl.html)
This commit is contained in:
parent
8f457e0a63
commit
5f117ffa4a
@ -24,6 +24,11 @@ services:
|
|||||||
tags:
|
tags:
|
||||||
- { name: twig.extension }
|
- { name: twig.extension }
|
||||||
|
|
||||||
|
twig_intl:
|
||||||
|
class: Twig_Extensions_Extension_Intl
|
||||||
|
tags:
|
||||||
|
- { name: twig.extension }
|
||||||
|
|
||||||
chill.main.form.type.translatable.string:
|
chill.main.form.type.translatable.string:
|
||||||
class: Chill\MainBundle\Form\Type\TranslatableStringFormType
|
class: Chill\MainBundle\Form\Type\TranslatableStringFormType
|
||||||
arguments:
|
arguments:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user