mirror of
https://github.com/twigphp/Twig.git
synced 2026-11-05 02:25:02 +00:00
13 lines
411 B
Plaintext
13 lines
411 B
Plaintext
--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é
|