{"action":"created","issue":{"url":"https://api.github.com/repos/joel-costigliola/assertj-core/issues/369","labels_url":"https://api.github.com/repos/joel-costigliola/assertj-core/issues/369/labels{/name}","comments_url":"https://api.github.com/repos/joel-costigliola/assertj-core/issues/369/comments","events_url":"https://api.github.com/repos/joel-costigliola/assertj-core/issues/369/events","html_url":"https://github.com/joel-costigliola/assertj-core/issues/369","id":67947591,"number":369,"title":"Date in not supported pattern is parsed incorrectly without error","user":{"login":"mkordas","id":5467276,"avatar_url":"https://avatars.githubusercontent.com/u/5467276?v=3","gravatar_id":"","url":"https://api.github.com/users/mkordas","html_url":"https://github.com/mkordas","followers_url":"https://api.github.com/users/mkordas/followers","following_url":"https://api.github.com/users/mkordas/following{/other_user}","gists_url":"https://api.github.com/users/mkordas/gists{/gist_id}","starred_url":"https://api.github.com/users/mkordas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkordas/subscriptions","organizations_url":"https://api.github.com/users/mkordas/orgs","repos_url":"https://api.github.com/users/mkordas/repos","events_url":"https://api.github.com/users/mkordas/events{/privacy}","received_events_url":"https://api.github.com/users/mkordas/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-12T19:30:08Z","updated_at":"2015-04-13T00:21:54Z","closed_at":null,"body":"Date represented as string with space instead of `T` is incorrectly parsed as date at midnight without any error. This sample illustrates problem:\r\n```java\r\nDate date = new Date();\r\nTimestamp timestamp = new java.sql.Timestamp(date.getTime());\r\nString dateAsString = timestamp.toString(); //2015-04-12 21:25:12.293\r\nassertThat(date).isEqualTo(dateAsString);\r\n```\r\nResult\r\n```\r\norg.junit.ComparisonFailure: \r\nExpected :2015-04-12T00:00:00\r\nActual   :2015-04-12T21:25:12\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/joel-costigliola/assertj-core/issues/comments/92156400","html_url":"https://github.com/joel-costigliola/assertj-core/issues/369#issuecomment-92156400","issue_url":"https://api.github.com/repos/joel-costigliola/assertj-core/issues/369","id":92156400,"user":{"login":"joel-costigliola","id":382613,"avatar_url":"https://avatars.githubusercontent.com/u/382613?v=3","gravatar_id":"","url":"https://api.github.com/users/joel-costigliola","html_url":"https://github.com/joel-costigliola","followers_url":"https://api.github.com/users/joel-costigliola/followers","following_url":"https://api.github.com/users/joel-costigliola/following{/other_user}","gists_url":"https://api.github.com/users/joel-costigliola/gists{/gist_id}","starred_url":"https://api.github.com/users/joel-costigliola/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joel-costigliola/subscriptions","organizations_url":"https://api.github.com/users/joel-costigliola/orgs","repos_url":"https://api.github.com/users/joel-costigliola/repos","events_url":"https://api.github.com/users/joel-costigliola/events{/privacy}","received_events_url":"https://api.github.com/users/joel-costigliola/received_events","type":"User","site_admin":false},"created_at":"2015-04-13T00:21:53Z","updated_at":"2015-04-13T00:21:53Z","body":"Good catch, probably due to date format being lenient by default (if I'm not mistaken)"}}