You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flex.apache.org by "Alex Landini (JIRA)" <ji...@apache.org> on 2015/05/27 16:23:17 UTC

[jira] [Updated] (FLEX-34861) Date dst not considered with seconds/milliseconds

     [ https://issues.apache.org/jira/browse/FLEX-34861?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Landini updated FLEX-34861:
--------------------------------
    Environment: Windows, Flash player 16

> 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
>
> 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)