Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-24531

FallbackDateTimeFormatter - Method actualLocaleIDName() and getAvailableLocaleIDNames() should return locale with dash

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Adobe Flex SDK Previous
    • Adobe Flex SDK Previous
    • Spark: Formatters
    • None
    • Affected OS(s): All OS Platforms
      Affected OS(s): All OS Platforms
      Browser: Internet Explorer 8.x
      Language Found: English

    Description

      Steps to reproduce:
      1.Define a FallbackDateTimeFormatter instance with locale "en_US"
      2.Call method actualLocaleIDName()
      3.Verify the return value is "en-US"
      4.Call method getAvailableLocaleIDNames()
      5.Verify the return value is "en-US"

      Actual Results:
      Both method actualLocaleIDName() and getAvailableLocaleIDNames() return "en_US"

      Expected Results:
      Both method actualLocaleIDName() and getAvailableLocaleIDNames() return "en-US"

      Notes:
      1. Whenever user input "en-US" or "en_US", the output should be always "en-US".
      2. The issue happen in source code line 70 and 209.

      Attachments

        Activity

          People

            adobejira Adobe JIRA
            adobejira Adobe JIRA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: