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:18:17 UTC
[jira] [Created] (FLEX-34861) Date dst not considered with
seconds/milliseconds
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)