Symfony version(s) affected
6.4, 7.2, 7.3
Description
Up to ICU 71.1 a user could submit a date like Feb 3, 2010, 04:05 AM which was properly handled by the DateTimeToLocalizedStringTransformer. With ICU 72+ this no longer works as the format ICU expects has slightly changed for many different date formats (for example, in the example string it expects a "thin space" before AM).
How to reproduce
see the DateTimeToLocalizedStringTransformerTest::testReverseTransformFromDifferentLocale() test
Possible Solution
No response
Additional Context
ICU 72 release notes
Symfony version(s) affected
6.4, 7.2, 7.3
Description
Up to ICU 71.1 a user could submit a date like
Feb 3, 2010, 04:05 AMwhich was properly handled by theDateTimeToLocalizedStringTransformer. With ICU 72+ this no longer works as the format ICU expects has slightly changed for many different date formats (for example, in the example string it expects a "thin space" beforeAM).How to reproduce
see the
DateTimeToLocalizedStringTransformerTest::testReverseTransformFromDifferentLocale()testPossible Solution
No response
Additional Context
ICU 72 release notes