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 0739818B9C for ; Wed, 27 May 2015 14:34:57 +0000 (UTC) Received: (qmail 62628 invoked by uid 500); 27 May 2015 14:28:17 -0000 Delivered-To: apmail-flex-issues-archive@flex.apache.org Received: (qmail 62602 invoked by uid 500); 27 May 2015 14:28:17 -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 62592 invoked by uid 99); 27 May 2015 14:28:17 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 May 2015 14:28:17 +0000 Date: Wed, 27 May 2015 14:28:17 +0000 (UTC) From: "Alex Landini (JIRA)" To: issues@flex.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (FLEX-34861) Date dst not considered with seconds/milliseconds 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-34861?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alex Landini updated FLEX-34861: -------------------------------- Description: Settings seconds and milliseconds on date during the dst change wrongly the timezone. For instance by executing the following code snippet across dst (Europe/Rome timezone): {code} var date:Date = new Date(); trace(date); date.seconds = 0; trace(date); {code} it prints out: {code} Sun Oct 25 02:17:22 GMT+0200 2015 Sun Oct 25 02:17:00 GMT+0100 2015 {code} The same happens for milliseconds. was: Seconds and milliseconds reset on date during the dst change wrongly the timezone. For instance by executing the following code snippet across dst (Europe/Rome timezone): {code} var date:Date = new Date(); trace(date); date.seconds = 0; trace(date); {code} it prints out: {code} Sun Oct 25 02:17:22 GMT+0200 2015 Sun Oct 25 02:17:00 GMT+0100 2015 {code} The same happens for milliseconds. > Date dst not considered with seconds/milliseconds > ------------------------------------------------- > > Key: FLEX-34861 > URL: https://issues.apache.org/jira/browse/FLEX-34861 > Project: Apache Flex > Issue Type: Bug > Components: .Unspecified - Framework > Affects Versions: Apache Flex 4.14.1 > Environment: Windows, Flash player 16 > Reporter: Alex Landini > > Settings seconds and milliseconds on date during the dst change wrongly the timezone. > For instance by executing the following code snippet across dst (Europe/Rome timezone): > {code} > var date:Date = new Date(); > trace(date); > date.seconds = 0; > trace(date); > {code} > it prints out: > {code} > Sun Oct 25 02:17:22 GMT+0200 2015 > Sun Oct 25 02:17:00 GMT+0100 2015 > {code} > The same happens for milliseconds. -- This message was sent by Atlassian JIRA (v6.3.4#6332)