flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Justin Mclean (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (FLEX-33726) DateField.stringToDate returns null when inputFormat has no separators
Date Thu, 12 Sep 2013 01:13:52 GMT

     [ https://issues.apache.org/jira/browse/FLEX-33726?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Justin Mclean resolved FLEX-33726.
----------------------------------

       Resolution: Fixed
    Fix Version/s: Apache Flex 4.11.0

Checked into develop branch DateField and DateChooser tests pass.
                
> DateField.stringToDate returns null when inputFormat has no separators
> ----------------------------------------------------------------------
>
>                 Key: FLEX-33726
>                 URL: https://issues.apache.org/jira/browse/FLEX-33726
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: mx: DateField
>    Affects Versions: Apache Flex 4.10.0
>         Environment: Win 8
>            Reporter: MichaƂ Sz.
>            Assignee: Justin Mclean
>             Fix For: Apache Flex 4.11.0
>
>
> 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").

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message