intl-extra icon indicating copy to clipboard operation
intl-extra copied to clipboard

Intl support for Twig

Results 7 intl-extra issues
Sort by recently updated
recently updated
newest added

Looks like a copy-paste bug (the previous line uses `getTimeType()` correctly.

I originally described this issue in https://github.com/twigphp/Twig/issues/3568#issuecomment-931382860 but have created this PR to keep the discussion focussed.

Since PHP 8.0, IntlDateFormatter get new constants to format relative dates. This PR add those constants.

This is a necessary dependency. Otherwise, when upgrading symfony 5.0.* to 5.2. The inability to run composer require twig/intl-extra. P.s. Excuse my English, I'm learning Japanese.

Extended getCountryName() to support ALPHA-3 country codes.

intl-extra makes use of the `IntlDateFormatter` class, which is only available in the `intl` extension of PHP. However, this dependency is not noted in `composer.json`, which means installation succeeds, but...

Added symfony framework integration sample. I didn't find any example anywhere, how to integrate this extension into symfony. If I didn't make this definition in services, the extension was not...