twig / intl-extra
A Twig extension for Intl
v3.5.0
2022-12-27 12:23 UTC
Requires
- php: >=7.1.3
- symfony/intl: ^4.4|^5.0|^6.0
- twig/twig: ^2.7|^3.0
Requires (Dev)
- symfony/phpunit-bridge: ^4.4.9|^5.0.9|^6.0
This package is auto-updated.
Last update: 2023-02-01 09:05:00 UTC
README
This package is a Twig extension that provides the following:
country_name
filter: returns the country name given its two-letter/five-letter code;currency_name
filter: returns the currency name given its three-letter code;currency_symbol
filter: returns the currency symbol given its three-letter code;language_name
filter: returns the language name given its two-letter/five-letter code;locale_name
filter: returns the language name given its two-letter/five-letter code;timezone_name
filter: returns the timezone name given its identifier;country_timezones
filter: returns the timezone identifiers of the given country code;format_currency
filter: formats a number as a currency;format_number
filter: formats a number;format_datetime
filter: formats a date time;format_date
filter: formats a date;format_time
filter: formats a time.