Actions
Bug #102095
closedMitigate locale `C` in `DateFormatter` wrapping class
Start date:
2023-10-05
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
12
PHP Version:
8.3
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
Since PHP 8.3RC3 [1] the `\IntlDateFormatter` throws a
`\IntlException` exception with the message:
datefmt_create: invalid locale: U_ILLEGAL_ARGUMENT_ERROR
if a invalid locale is passed to the constructor. The value `C`
is considered as a non valid locale, albeit it may be set.
See: https://github.com/php/php-src/commit/a80db7b52aa134bdc8b9841
Actions