commercetools / sphere-scala-libs

Apache License 2.0
21 stars 7 forks source link

[Java Time] Replace the LocalDateParser with a lenient version #614

Closed nolledge closed 1 month ago

nolledge commented 1 month ago

In java.time parsing a LocalDate is stricter than in joda. We want to guarantee backwards compatibility, when migrating to java.time, therefore I replaced the strict ISO conforming formatter with a more lenient version, that mimics the behaviour we see with the joda library. In addition to the standard ISO parser it allows to:

BEC-254