{"action":"opened","issue":{"url":"https://api.github.com/repos/arnaudroger/SimpleFlatMapper/issues/330","repository_url":"https://api.github.com/repos/arnaudroger/SimpleFlatMapper","labels_url":"https://api.github.com/repos/arnaudroger/SimpleFlatMapper/issues/330/labels{/name}","comments_url":"https://api.github.com/repos/arnaudroger/SimpleFlatMapper/issues/330/comments","events_url":"https://api.github.com/repos/arnaudroger/SimpleFlatMapper/issues/330/events","html_url":"https://github.com/arnaudroger/SimpleFlatMapper/issues/330","id":168460073,"number":330,"title":"Multiple date formats","user":{"login":"Ramblurr","id":14830,"avatar_url":"https://avatars.githubusercontent.com/u/14830?v=3","gravatar_id":"","url":"https://api.github.com/users/Ramblurr","html_url":"https://github.com/Ramblurr","followers_url":"https://api.github.com/users/Ramblurr/followers","following_url":"https://api.github.com/users/Ramblurr/following{/other_user}","gists_url":"https://api.github.com/users/Ramblurr/gists{/gist_id}","starred_url":"https://api.github.com/users/Ramblurr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ramblurr/subscriptions","organizations_url":"https://api.github.com/users/Ramblurr/orgs","repos_url":"https://api.github.com/users/Ramblurr/repos","events_url":"https://api.github.com/users/Ramblurr/events{/privacy}","received_events_url":"https://api.github.com/users/Ramblurr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-30T10:02:14Z","updated_at":"2016-07-30T10:02:14Z","closed_at":null,"body":"I'm using a CsvMapper with the `defaultDateFormat` to specify a format, but I need to be able to specify multiple formats as my input data has varying formats.\r\n\r\nIs this possible?\r\n\r\n```\r\n  protected CsvMapper<DTOClass> mapper() {\r\n        return CsvMapperFactory\r\n                .newInstance()\r\n                .defaultDateFormat(\"yyyy-MM-dd\")\r\n                .defaultDateFormat(\"yyyy/MM/dd\") /// this overrides the previous line\r\n                .newMapper(DTOClass.class);\r\n    }\r\n```"}}
{"actor":{"display_login":"Ramblurr"}}