{"action":"created","issue":{"url":"https://api.github.com/repos/FasterXML/jackson-databind/issues/939","labels_url":"https://api.github.com/repos/FasterXML/jackson-databind/issues/939/labels{/name}","comments_url":"https://api.github.com/repos/FasterXML/jackson-databind/issues/939/comments","events_url":"https://api.github.com/repos/FasterXML/jackson-databind/issues/939/events","html_url":"https://github.com/FasterXML/jackson-databind/issues/939","id":107742099,"number":939,"title":"Regression: DateConversionError in 2.6.x (2.5.4 works fine)","user":{"login":"anpieber","id":121043,"avatar_url":"https://avatars.githubusercontent.com/u/121043?v=3","gravatar_id":"","url":"https://api.github.com/users/anpieber","html_url":"https://github.com/anpieber","followers_url":"https://api.github.com/users/anpieber/followers","following_url":"https://api.github.com/users/anpieber/following{/other_user}","gists_url":"https://api.github.com/users/anpieber/gists{/gist_id}","starred_url":"https://api.github.com/users/anpieber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anpieber/subscriptions","organizations_url":"https://api.github.com/users/anpieber/orgs","repos_url":"https://api.github.com/users/anpieber/repos","events_url":"https://api.github.com/users/anpieber/events{/privacy}","received_events_url":"https://api.github.com/users/anpieber/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-09-22T15:41:53Z","updated_at":"2015-09-26T07:25:07Z","closed_at":null,"body":"If you try to convert a Date into a String it reduces it by one (while this works in 2.5.4). If you try to convert 2015-01-02 Date to String it prints out 2015-01-01. This bug is kind of critical I assume. I've created the most primitive test case showing the problem: https://github.com/anpieber/jackson-regression . If you downgrade the version to 2.5.4 in the pom you'll see that it works there (test is green)."},"comment":{"url":"https://api.github.com/repos/FasterXML/jackson-databind/issues/comments/143406133","html_url":"https://github.com/FasterXML/jackson-databind/issues/939#issuecomment-143406133","issue_url":"https://api.github.com/repos/FasterXML/jackson-databind/issues/939","id":143406133,"user":{"login":"anpieber","id":121043,"avatar_url":"https://avatars.githubusercontent.com/u/121043?v=3","gravatar_id":"","url":"https://api.github.com/users/anpieber","html_url":"https://github.com/anpieber","followers_url":"https://api.github.com/users/anpieber/followers","following_url":"https://api.github.com/users/anpieber/following{/other_user}","gists_url":"https://api.github.com/users/anpieber/gists{/gist_id}","starred_url":"https://api.github.com/users/anpieber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anpieber/subscriptions","organizations_url":"https://api.github.com/users/anpieber/orgs","repos_url":"https://api.github.com/users/anpieber/repos","events_url":"https://api.github.com/users/anpieber/events{/privacy}","received_events_url":"https://api.github.com/users/anpieber/received_events","type":"User","site_admin":false},"created_at":"2015-09-26T07:25:07Z","updated_at":"2015-09-26T07:25:07Z","body":"Actually I'm with you and we're feeling for quite some time now that we really should change all dates transmitted in JSON to a format including the timezone...\r\n\r\nIndependently, I think the text put into Jackson should come out afterwards again; especially if the same converter is/should be used both times. Shouldn't jackson simply use the provided format instead of tostring for the date? Wouldn't this solve the problem?"}}