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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 13
    • None
    • core-libs
    • b10
    • Verified

      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.format.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.

            nishjain Nishit Jain
            rgoel Rachna Goel (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: