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

DateTimeFormatter "MMMMM" returns English value in Japanese locale

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b34
    • Verification:
      Verified

      Backports

        Description

        DateTimeFormatter.ofPattern("MMMMM") returns English month name in Japanese
        locale.

        "M" represents month-of-year, and "MMMMM" represents the narrow form.
        In Japanese locale, it should return "4" for April, but it returns "A".
        "A" is English abbreviated month name and not used in Japanese locale.

        "LLLLL" (stand-alone month-of-year) returns "4" expectedly.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                okutsu Masayoshi Okutsu
                Reporter:
                asaha Abhijit Saha
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: