{"action":"closed","issue":{"url":"https://api.github.com/repos/moment/moment/issues/2353","labels_url":"https://api.github.com/repos/moment/moment/issues/2353/labels{/name}","comments_url":"https://api.github.com/repos/moment/moment/issues/2353/comments","events_url":"https://api.github.com/repos/moment/moment/issues/2353/events","html_url":"https://github.com/moment/moment/issues/2353","id":71893615,"number":2353,"title":"Firefox and Chrome adds 1 day differently","user":{"login":"fczuardi","id":7760,"avatar_url":"https://avatars.githubusercontent.com/u/7760?v=3","gravatar_id":"","url":"https://api.github.com/users/fczuardi","html_url":"https://github.com/fczuardi","followers_url":"https://api.github.com/users/fczuardi/followers","following_url":"https://api.github.com/users/fczuardi/following{/other_user}","gists_url":"https://api.github.com/users/fczuardi/gists{/gist_id}","starred_url":"https://api.github.com/users/fczuardi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fczuardi/subscriptions","organizations_url":"https://api.github.com/users/fczuardi/orgs","repos_url":"https://api.github.com/users/fczuardi/repos","events_url":"https://api.github.com/users/fczuardi/events{/privacy}","received_events_url":"https://api.github.com/users/fczuardi/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/moment/moment/labels/Timezones","name":"Timezones","color":"006b75"},{"url":"https://api.github.com/repos/moment/moment/labels/Troubleshooting","name":"Troubleshooting","color":"d4c5f9"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-04-29T14:37:42Z","updated_at":"2015-05-02T03:54:09Z","closed_at":"2015-05-02T03:54:09Z","body":"- I am using MacOSX 10.9.5, Chrome Version 42.0.2311.90 (64-bit) and Firefox Nightly 40.0a1 (2015-04-29).\r\n- My computer timezone is set to Brasilia Standard Time, city São Paulo, Brazil\r\n\r\nThe result of adding one day to some dates in the months of October, is causing a bug in firefox that affects a calendar widget I am using, see https://github.com/gpbl/react-day-picker/issues/18\r\n\r\nHere is a simplified test-case:\r\n\r\n```javascript\r\nvar oct182014 = moment('2014-10-18');\r\nvar oct182014Plus1 = moment('2014-10-18').add(1,'d');\r\nconsole.log('18 of october 2014:', oct182014.format(), oct182014.valueOf());\r\nconsole.log('18 of october 2014 + 1 day:', oct182014Plus1.format(), oct182014Plus1.valueOf());\r\n```\r\n\r\nThe output on Chrome:\r\n\r\n```\r\n18 of october 2014: 2014-10-18T00:00:00-03:00 1413601200000\r\n18 of october 2014 + 1 day: 2014-10-19T01:00:00-02:00 1413687600000\r\n```\r\n\r\nAnd the output on Firefox:\r\n\r\n```\r\n\"18 of october 2014:\" \"2014-10-18T00:00:00-03:00\" 1413601200000\r\n\"18 of october 2014 + 1 day:\" \"2014-10-18T23:00:00-03:00\" 1413684000000\r\n```\r\n\r\n"}}