Return-Path: X-Original-To: apmail-flex-issues-archive@minotaur.apache.org Delivered-To: apmail-flex-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A75A8105D3 for ; Tue, 3 Mar 2015 08:02:05 +0000 (UTC) Received: (qmail 81271 invoked by uid 500); 3 Mar 2015 08:02:05 -0000 Delivered-To: apmail-flex-issues-archive@flex.apache.org Received: (qmail 81247 invoked by uid 500); 3 Mar 2015 08:02:05 -0000 Mailing-List: contact issues-help@flex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flex.apache.org Delivered-To: mailing list issues@flex.apache.org Received: (qmail 81237 invoked by uid 99); 3 Mar 2015 08:02:05 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Mar 2015 08:02:05 +0000 Date: Tue, 3 Mar 2015 08:02:05 +0000 (UTC) From: "Dany Dhondt (JIRA)" To: issues@flex.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (FLEX-34731) Setting month to 1 in Date field ends up as 2 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/FLEX-34731?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14344705#comment-14344705 ] Dany Dhondt commented on FLEX-34731: ------------------------------------ I can't reproduce this. At my system running 4.14 everything works as expected. Someone resolved this issue already? > 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 > Labels: easyfix > Original Estimate: 1h > Remaining Estimate: 1h > > 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)