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

DateField.stringToDate returns null when inputFormat has no separators

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Apache Flex 4.10.0
    • Apache Flex 4.11.0
    • mx: DateField
    • None
    • Win 8

    Description

      Executing code
      DateField.stringToDate("20110101","YYYYMMDD") returns null, but when i'm executing the same code under flex 4.6 it works correctly.
      When i add separators, everything works fine, for example
      DateField.stringToDate("2011-01-01","YYYY-MM-DD").

      Attachments

        Activity

          People

            jmclean Justin Mclean
            emesz MichaƂ Sz.
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: