Updates:
Status: WorkingAsIntended
Comment #3 on issue 2251 by [email protected]: new Date with arguments MUST
parse it as an UTC
http://code.google.com/p/v8/issues/detail?id=2251
Note that step 10 of ECMA-262/15.9.3.1 says:
10. Set the [[PrimitiveValue]] internal property of the newly constructed
object to TimeClip(UTC(finalDate)).
The finalDate is treated as local and explicitly converted to UTC before
storing.
I also checked in Firefox and it returns the same results as Chrome, so I
believe this behavior conforms to the spec.
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev