flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Robinson (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FLEX-34731) Setting month to 1 in Date field ends up as 2
Date Fri, 30 Jan 2015 15:43:34 GMT
Mike Robinson created FLEX-34731:
------------------------------------

             Summary: Setting month to 1 in Date field ends up as 2
                 Key: FLEX-34731
                 URL: https://issues.apache.org/jira/browse/FLEX-34731
             Project: Apache Flex
          Issue Type: Bug
    Affects Versions: Apache Flex 4.13.0
            Reporter: Mike Robinson


Cannot set the Date month value to February. 

var date:Date = new Date();
date.setMonth(1);  // month ends up as 2
date.setMonth(0);  // correct
date.setMonth(2); // correct



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message