{"action":"created","issue":{"url":"https://api.github.com/repos/TailorDev/Watson/issues/10","labels_url":"https://api.github.com/repos/TailorDev/Watson/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/TailorDev/Watson/issues/10/comments","events_url":"https://api.github.com/repos/TailorDev/Watson/issues/10/events","html_url":"https://github.com/TailorDev/Watson/issues/10","id":65174545,"number":10,"title":"Improve input date parsing","user":{"login":"jmaupetit","id":956157,"avatar_url":"https://avatars.githubusercontent.com/u/956157?v=3","gravatar_id":"","url":"https://api.github.com/users/jmaupetit","html_url":"https://github.com/jmaupetit","followers_url":"https://api.github.com/users/jmaupetit/followers","following_url":"https://api.github.com/users/jmaupetit/following{/other_user}","gists_url":"https://api.github.com/users/jmaupetit/gists{/gist_id}","starred_url":"https://api.github.com/users/jmaupetit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmaupetit/subscriptions","organizations_url":"https://api.github.com/users/jmaupetit/orgs","repos_url":"https://api.github.com/users/jmaupetit/repos","events_url":"https://api.github.com/users/jmaupetit/events{/privacy}","received_events_url":"https://api.github.com/users/jmaupetit/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/TailorDev/Watson/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-03-30T09:44:02Z","updated_at":"2015-09-17T13:15:32Z","closed_at":null,"body":"When watson fails at parsing an input date, we must raise a clear message."},"comment":{"url":"https://api.github.com/repos/TailorDev/Watson/issues/comments/141079997","html_url":"https://github.com/TailorDev/Watson/issues/10#issuecomment-141079997","issue_url":"https://api.github.com/repos/TailorDev/Watson/issues/10","id":141079997,"user":{"login":"k4nar","id":2692721,"avatar_url":"https://avatars.githubusercontent.com/u/2692721?v=3","gravatar_id":"","url":"https://api.github.com/users/k4nar","html_url":"https://github.com/k4nar","followers_url":"https://api.github.com/users/k4nar/followers","following_url":"https://api.github.com/users/k4nar/following{/other_user}","gists_url":"https://api.github.com/users/k4nar/gists{/gist_id}","starred_url":"https://api.github.com/users/k4nar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/k4nar/subscriptions","organizations_url":"https://api.github.com/users/k4nar/orgs","repos_url":"https://api.github.com/users/k4nar/repos","events_url":"https://api.github.com/users/k4nar/events{/privacy}","received_events_url":"https://api.github.com/users/k4nar/received_events","type":"User","site_admin":false},"created_at":"2015-09-17T13:15:32Z","updated_at":"2015-09-17T13:15:32Z","body":"While parsedatetime is great, it's not a perfect fit for Watson. For example it seems to always be expecting MM/DD dates instead of DD/MM. Also it guesses dates in the future (`monday` is equivalent to `next monday`, not `last monday`) but this is not what's expected in the context of Watson.\r\n\r\nRight now our system is more restrictive and cumbersome, but at least it's not bug prone.\r\n\r\nFTR we must set `YearParseStyle` to 0 in order to parse `Jan 1th` as the current year and not the next."}}