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

mx:DateField is unable to format correctly single placeholders for a day or month (e.g. D-M-YYYY).

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Adobe Flex SDK 4.1 (Release)
    • None
    • mx: DateField
    • None
    • Affected OS(s): All OS Platforms
      Language Found: English

    Description

      Steps to reproduce:
      1. Add an mx:DateField control.
      2. Set the formatString property to the value of 'D-M-YYYY'.
      3. Set the selectedDate property to the value of 'new Date(2010, 11, 1)'.

      Actual Results:
      The formatted string is '01122010'.

      Expected Results:
      The formatted string should be '1-12-2010'.

      Workaround (if any):

      Attachments

        Activity

          People

            jmclean Justin Mclean
            adobejira Adobe JIRA
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: