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

DateTimeFormatter "ccccc" returns the wrong value

XMLWordPrintable

    • 8
    • generic
    • generic


      DateTimeFormatter.ofPattern("ccccc") returns a wrong value.

      "c" represents stand-alone day-of-week, and "ccccc" represents the narrow
      form.
      When the date is Tuesday, it should return "T". But, it returns "2".

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

              Created:
              Updated:
              Resolved: