Updates:
Status: Available
Labels: Area-Language Type-Bug Priority-Medium
Comment #1 on issue 4265 by [email protected]: Inconsistent behavior in
date parse
https://code.google.com/p/v8/issues/detail?id=4265
Which version of V8 is running in your node installation?
Just checked with V8 ToT:
V8 version 4.5.0 (candidate) [console: dumb]
d8> new Date("2016-01-01");
Fri Jan 01 2016 01:00:00 GMT+0100 (CET)
d8> new Date("2016-1-1")
Fri Jan 01 2016 00:00:00 GMT+0100 (CET)
d8> Date.parse("2016-01-01") === Date.parse("2016-1-1")
false
d8> Date.parse("2016-01-01")
1451606400000
d8> Date.parse("2016-1-1")
1451602800000
d8>
It seems new Date works but Date.parse is not.
--
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/d/optout.