Files
Twig/extra/intl-extra/Tests/Fixtures/format_date_php8_ICU72.test
Christian Flothmann 18007078ba fix intl-extra tests
2025-01-24 21:20:33 +01:00

13 lines
411 B
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
--TEST--
"format_date" filter
--CONDITION--
PHP_VERSION_ID >= 80000 && version_compare(Symfony\Component\Intl\Intl::getIcuVersion(), '72.1', '>=')
--TEMPLATE--
{{ 'today 23:39:12'|format_datetime('relative_short', 'none', locale='fr') }}
{{ 'today 23:39:12'|format_datetime('relative_full', 'full', locale='fr') }}
--DATA--
return [];
--EXPECT--
aujourd’hui
aujourd’hui, 23:39:12 temps universel coordonné