• Fabien Potencier's avatar
    feature #1509 Added parameters to configure the Twig core extension behavior (skalpa) · 24ad5c37
    Fabien Potencier authored
    This PR was merged into the 2.1.x-dev branch.
    
    Discussion
    ----------
    
    Added parameters to configure the Twig core extension behavior
    
    This adds the following parameters to configure `Twig_Extension_Core`:
    
    - `twig.date.format` (default `date` format)
    - `twig.date.interval_format` (default `date` format for intervals)
    - `twig.date.timezone` (default timezone)
    - `twig.number_format.decimals` (default number of decimals for `number_format`)
    - `twig.number_format.decimal_point` (default decimals separator for `number_format`)
    - `twig.number_format.thousands_separator` (default thousands separator for `number_format`)
    
    Commits
    -------
    
    99a4fb35 Added parameters to configure the Twig core extension behavior
    24ad5c37
Name
Last commit
Last update
doc Loading commit data...
src/Silex Loading commit data...
tests/Silex/Tests Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
LICENSE Loading commit data...
README.rst Loading commit data...
composer.json Loading commit data...
phpunit.xml.dist Loading commit data...