Updates:
        Status: WorkingAsIntended

Comment #2 on issue 2521 by [email protected]: different results for new Date()
http://code.google.com/p/v8/issues/detail?id=2521

Consider http://www.ecma-international.org/ecma-262/5.1/#sec-15.9.1.15 and http://www.ecma-international.org/ecma-262/5.1/#sec-15.9.4.2

The string "2013-01-31" conforms to the ES5 Date Time Format. The time zone, since missing, defaults to "Z" for UTC.

The string "2013-1-31" doesn't conform to the spec, and "if the String does not conform to that format the function may fall back to any implementation-specific heuristics or implementation-specific date formats.". Currently, the time zone default for the legacy date parser is local time. We would like to keep it that way, in case some web site relies on this existing behavior.

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to