Status: New
Owner: ----
New issue 3116 by [email protected]: Date behavior incorrect in Sao
Paulo on Sat Oct 18 2014 00:00:00 GMT-0300
http://code.google.com/p/v8/issues/detail?id=3116
The following behavior was observed in tracking a bug in Moment.js. This
bug has been verified in both Node and Chrome:
To reproduce, you must set the timezone to Sal Paulo (other cities in
GMT-0300 will not reproduce this bug.
new Date("October 18, 2014"); //=> Sat Oct 18 2014 00:00:00 GMT-0300 (BRT)
new Date("October 19, 2014"); //=> Sat Oct 18 2014 23:00:00 GMT-0300 (BRT)
//Also note this behavior
var d = new Date(2014, 9, 18);
d.setDate(19);
d.toString(); // => Sat Oct 18 2014 23:00:00 GMT-0300 (BRT)
Full discussion on moment.js: https://github.com/moment/moment/issues/1440
Full discussion on Stack Overflow:
http://stackoverflow.com/questions/21318357/moment-js-issue-adding-days-with-daylight-savings-time/21324550#21324550
I will submit a problem with Chrome for completeness.
--
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.