Skip to content

[Form] compatibility with ICU > 7.1 in DateTimeToLocalizedStringTransformer #60178

Open
@xabbuh

Description

@xabbuh

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 handle 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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions