#102095Mitigate locale `C` in `DateFormatter` wrapping class
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
Reviews 2
History 37
-
Gerrit Code Review pushed patch set 1 for main to change 81325 status
NewUnder Review 10/05/23, 11:04 -
Stefan Bürk changed description 10/05/23, 11:58
-
Gerrit Code Review pushed patch set 2 for main to change 81325 10/05/23, 12:06
-
Gerrit Code Review pushed patch set 3 for main to change 81325 10/05/23, 12:55
-
Gerrit Code Review pushed patch set 1 for 12.4 to change 81335 10/05/23, 14:47
-
Stefan Bürk commented and changed status
Under ReviewResolved done0 %100 % 10/05/23, 15:00 -
Benni Mack changed status
ResolvedClosed 07/09/24, 15:19
Applied in changeset commit:7e7c078d8bdddb10ae5122973435614c1533f290.