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

FallbackDateTimeFormatter - No double digit format is applied when format a date which less than 10

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Adobe Flex SDK Previous
    • None
    • 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.Create a FallbackDateTimeFormatter instance
      2.Format Date(2000,0,1)
      3.Verify the formatted date is in double digit format

      Actual Results:
      Method format() return "Saturday,January1,2000 12:00:00 AM"

      Expected Results:
      Method format() return "Saturday, January 01, 2000 12:00:00 AM"

      Investigation:
      In method longDate() (source code line 145, 147), the getDate() method does not apply double digit format. In other words, the getDate() method did not call method doubleDigitFormat().

      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: