{"action":"created","issue":{"url":"https://api.github.com/repos/dateutil/dateutil/issues/217","repository_url":"https://api.github.com/repos/dateutil/dateutil","labels_url":"https://api.github.com/repos/dateutil/dateutil/issues/217/labels{/name}","comments_url":"https://api.github.com/repos/dateutil/dateutil/issues/217/comments","events_url":"https://api.github.com/repos/dateutil/dateutil/issues/217/events","html_url":"https://github.com/dateutil/dateutil/issues/217","id":140557076,"number":217,"title":"yearfirst bug fixed?","user":{"login":"jreback","id":953992,"avatar_url":"https://avatars.githubusercontent.com/u/953992?v=3","gravatar_id":"","url":"https://api.github.com/users/jreback","html_url":"https://github.com/jreback","followers_url":"https://api.github.com/users/jreback/followers","following_url":"https://api.github.com/users/jreback/following{/other_user}","gists_url":"https://api.github.com/users/jreback/gists{/gist_id}","starred_url":"https://api.github.com/users/jreback/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jreback/subscriptions","organizations_url":"https://api.github.com/users/jreback/orgs","repos_url":"https://api.github.com/users/jreback/repos","events_url":"https://api.github.com/users/jreback/events{/privacy}","received_events_url":"https://api.github.com/users/jreback/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dateutil/dateutil/labels/parser","name":"parser","color":"d4c5f9"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-14T02:12:55Z","updated_at":"2016-03-14T22:31:31Z","closed_at":null,"body":"xref https://github.com/pydata/pandas/issues/12611\r\n\r\nI guess this was a bug in < 2.5?\r\n\r\n```\r\nIn [1]: import dateutil.parser\r\n\r\nIn [2]: p = dateutil.parser.parser()\r\n\r\nIn [3]: p.parse(StringIO('090131'), dayfirst=False, yearfirst=False)\r\nOut[3]: datetime.datetime(2009, 1, 31, 0, 0)\r\n\r\nIn [4]: dateutil.__version__\r\nOut[4]: '2.4.1'\r\n```\r\n\r\n```\r\nIn [1]: import dateutil.parser\r\nIn [3]: p = dateutil.parser.parser()\r\n\r\nIn [4]: p.parse(StringIO('090131'), dayfirst=False, yearfirst=False)\r\nOut[4]: datetime.datetime(2031, 9, 1, 0, 0)\r\n\r\nIn [5]: p.parse(StringIO('090131'), dayfirst=False, yearfirst=True)\r\nOut[5]: datetime.datetime(2009, 1, 31, 0, 0)\r\n\r\nIn [5]: import dateutil\r\n\r\nIn [6]: dateutil.__version__\r\nOut[6]: '2.5.0'\r\n```"},"comment":{"url":"https://api.github.com/repos/dateutil/dateutil/issues/comments/196548909","html_url":"https://github.com/dateutil/dateutil/issues/217#issuecomment-196548909","issue_url":"https://api.github.com/repos/dateutil/dateutil/issues/217","id":196548909,"user":{"login":"pganssle","id":1377457,"avatar_url":"https://avatars.githubusercontent.com/u/1377457?v=3","gravatar_id":"","url":"https://api.github.com/users/pganssle","html_url":"https://github.com/pganssle","followers_url":"https://api.github.com/users/pganssle/followers","following_url":"https://api.github.com/users/pganssle/following{/other_user}","gists_url":"https://api.github.com/users/pganssle/gists{/gist_id}","starred_url":"https://api.github.com/users/pganssle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pganssle/subscriptions","organizations_url":"https://api.github.com/users/pganssle/orgs","repos_url":"https://api.github.com/users/pganssle/repos","events_url":"https://api.github.com/users/pganssle/events{/privacy}","received_events_url":"https://api.github.com/users/pganssle/received_events","type":"User","site_admin":false},"created_at":"2016-03-14T22:31:31Z","updated_at":"2016-03-14T22:31:31Z","body":"According to `git bisect`, this was fixed in [this commit](https://github.com/dateutil/dateutil/commit/fc6962540e2), which I believe was part of #130. I'll add some tests to make sure it stays fixed.\r\n\r\nThis is at least partially issue #81."}}