flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Landini (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FLEX-34861) Date dst not considered with seconds/milliseconds
Date Wed, 27 May 2015 14:18:17 GMT
Alex Landini created FLEX-34861:
-----------------------------------

             Summary: 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
            Reporter: Alex Landini


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.




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

Mime
View raw message