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

Handle 'B' character introduced in CLDR 33 JDK update for Burmese (my) locale

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: tbd
    • Component/s: core-libs
    • Labels:
      None

      Description

      CLDR 32 onwards, B character has been added in date time patterns for Burmese locale(my and my_MM). However, java.text.SimpleDateFormat and in java.time.DateTimeFormatter do not support same. To provide full support for 'B' character in the date-time APIs can be put on hold until a strong need arise, but a workaround should be added to handle 'B' character in CLDR data. The LDML specification of 'B' character (day period) suggest that "if translation data is missing for a particular variable dayPeriod in the locale’s language and script, formatting should fall back to using the am/pm values"
       
       http://unicode.org/reports/tr35/tr35-dates.html#dayPeriods
       
       So a workaround could be added while processing CLDR data where 'B' character fall back to 'a' character.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                nishjain Nishit Jain
                Reporter:
                rgoel Rachna Goel
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: