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

SimpleDateFormat adds extra "." for some locales

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Not an Issue
    • Affects Version/s: 11
    • Fix Version/s: None
    • Component/s: core-libs
    • Labels:
      None
    • Subcomponent:
    • CPU:
      generic
    • OS:
      os_x

      Description

      When using "EEE" or "MMM" components in a date formatting string, SimpleDateFormat will add a "." for some locales - reproducibly so for Locale.GERMANY and Locale.FRANCE, but not for others.

      See attached jshell transcript for details: UK and US locales are fine, German and French versions have the extra ".".

      I reproduced this on JDK 11 RC1 on macOS.

        Attachments

          Activity

            People

            • Assignee:
              naoto Naoto Sato
              Reporter:
              mhaupt Michael Haupt
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: