Status: New
Owner: ----
New issue 2837 by [email protected]: Date constructor called as a
function returns local time not UTC
http://code.google.com/p/v8/issues/detail?id=2837
According to the ECMAScript 5 specification (section 15.9.2):
"When Date is called as a function rather than as a constructor, it returns
a String representing the current time (UTC)."
However, V8 returns a local time string, i.e. the equivalent of "new
Date().toString()" instead of "new Date().toUTCString()".
SpiderMonkey does the same, so this could be a specification bug?
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
--
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.