{"action":"created","issue":{"url":"https://api.github.com/repos/Hacker0x01/react-datepicker/issues/226","labels_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/issues/226/labels{/name}","comments_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/issues/226/comments","events_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/issues/226/events","html_url":"https://github.com/Hacker0x01/react-datepicker/issues/226","id":115688352,"number":226,"title":"Function bound to onChange receives wrong date","user":{"login":"janimattiellonen","id":1076448,"avatar_url":"https://avatars.githubusercontent.com/u/1076448?v=3","gravatar_id":"","url":"https://api.github.com/users/janimattiellonen","html_url":"https://github.com/janimattiellonen","followers_url":"https://api.github.com/users/janimattiellonen/followers","following_url":"https://api.github.com/users/janimattiellonen/following{/other_user}","gists_url":"https://api.github.com/users/janimattiellonen/gists{/gist_id}","starred_url":"https://api.github.com/users/janimattiellonen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/janimattiellonen/subscriptions","organizations_url":"https://api.github.com/users/janimattiellonen/orgs","repos_url":"https://api.github.com/users/janimattiellonen/repos","events_url":"https://api.github.com/users/janimattiellonen/events{/privacy}","received_events_url":"https://api.github.com/users/janimattiellonen/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":15,"created_at":"2015-11-07T19:54:30Z","updated_at":"2015-12-14T10:56:10Z","closed_at":"2015-12-14T10:56:10Z","body":"When I select 2015-11-01 the function bound to onChange event gives me \"2015-10-31T22:00:00.000Z\".\r\n\r\nCode used:\r\n\r\n\t<DatePicker\r\n\t    selected={this.state.startedReading}\r\n\t    dateFormat=\"DD.MM.YYYY\"\r\n\t    onChange={::this.handleStartedReadingChange}\r\n\t/>\t\r\n\r\nI'm using 0.15.2."},"comment":{"url":"https://api.github.com/repos/Hacker0x01/react-datepicker/issues/comments/164408521","html_url":"https://github.com/Hacker0x01/react-datepicker/issues/226#issuecomment-164408521","issue_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/issues/226","id":164408521,"user":{"login":"janimattiellonen","id":1076448,"avatar_url":"https://avatars.githubusercontent.com/u/1076448?v=3","gravatar_id":"","url":"https://api.github.com/users/janimattiellonen","html_url":"https://github.com/janimattiellonen","followers_url":"https://api.github.com/users/janimattiellonen/followers","following_url":"https://api.github.com/users/janimattiellonen/following{/other_user}","gists_url":"https://api.github.com/users/janimattiellonen/gists{/gist_id}","starred_url":"https://api.github.com/users/janimattiellonen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/janimattiellonen/subscriptions","organizations_url":"https://api.github.com/users/janimattiellonen/orgs","repos_url":"https://api.github.com/users/janimattiellonen/repos","events_url":"https://api.github.com/users/janimattiellonen/events{/privacy}","received_events_url":"https://api.github.com/users/janimattiellonen/received_events","type":"User","site_admin":false},"created_at":"2015-12-14T10:56:10Z","updated_at":"2015-12-14T10:56:10Z","body":"Sorry, no. I switched to jQuery datepicker :("}}