[
https://issues.apache.org/jira/browse/FLEX-34314?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Justin Mclean updated FLEX-34314:
---------------------------------
Description:
Parsing a data with "YYYY-MM-DD" format can return null.
This issue is this code:
if (day != newDate.getDate() || mon != newDate.getMonth())
return null;
Which should be?
if (date != newDate.getDate() || mon != newDate.getMonth())
return null;
was:
Parsing a data with "YYYY-MM-DD" format can return null.
Issue is this code:
if (day != newDate.getDate() || mon != newDate.getMonth())
return null;
Which should be:
if (date != newDate.getDate() || mon != newDate.getMonth())
return null;
> parseDateString fails to parse YYYY-MM-DD format
> ------------------------------------------------
>
> Key: FLEX-34314
> URL: https://issues.apache.org/jira/browse/FLEX-34314
> Project: Apache Flex
> Issue Type: Bug
> Affects Versions: Apache Flex 4.12.0, Apache Flex 4.12.1
> Reporter: Justin Mclean
> Assignee: Justin Mclean
>
> Parsing a data with "YYYY-MM-DD" format can return null.
> This issue is this code:
> if (day != newDate.getDate() || mon != newDate.getMonth())
> return null;
> Which should be?
> if (date != newDate.getDate() || mon != newDate.getMonth())
> return null;
--
This message was sent by Atlassian JIRA
(v6.2#6252)