Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8324665

Loose matching of space separators in the lenient date/time parsing mode

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 23
    • 20, 21, 22, 23
    • core-libs
    • b09
    • generic
    • generic

      CLDR v42 replaced the white space in between time and am/pm marker with NBSP/NNBSP. While this is the expected behavior, this has caused a lot of parsing issues among applications.

      CLDR spec proposes "loose matching" on parsing: https://www.unicode.org/reports/tr35/tr35.html#Lenient_Parsing in which space separators are parsed equivalently. Implementing this in DateFormat/DateTimeFormatter should resolve the issue.

            naoto Naoto Sato
            naoto Naoto Sato
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: