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

time formats for en_AU and en_NZ are wrong using the CLDR as reference

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 1.4.2, 6
    • Fix Version/s: 7
    • Component/s: globalization
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b18
    • CPU:
      x86
    • OS:
      linux, windows_2003
    • Verification:
      Verified

      Backports

        Description

        FULL PRODUCT VERSION :
        java version "1.6.0"
        Java(TM) SE Runtime Environment (build 1.6.0-b105)
        Java HotSpot(TM) Client VM (build 1.6.0-b105, mixed mode)

        ADDITIONAL OS VERSION INFORMATION :
        windows 2003 sp2

        A DESCRIPTION OF THE PROBLEM :
        according to the CLDR, en_AU & en_NZ use "h:mm:ss a" time pattern. common practice also indicates the pattern should be "h:mm:ss a". however core java seems to use "H:mm:ss" which means it can't correctly format or parse commonly used time patterns from those locales.



        REPRODUCIBILITY :
        This bug can be reproduced always.

        CUSTOMER SUBMITTED WORKAROUND :
        use icu4j but applications like adobe's coldfusion are stuck w/core java locale data.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                jtusla Jiri Tusla (Inactive)
                Reporter:
                ndcosta Nelson Dcosta (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: