{"action":"created","issue":{"url":"https://api.github.com/repos/gr2m/moment.parseFormat/issues/17","labels_url":"https://api.github.com/repos/gr2m/moment.parseFormat/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/gr2m/moment.parseFormat/issues/17/comments","events_url":"https://api.github.com/repos/gr2m/moment.parseFormat/issues/17/events","html_url":"https://github.com/gr2m/moment.parseFormat/issues/17","id":54691107,"number":17,"title":"3/15 → D/YY","user":{"login":"rnp716","id":9909685,"avatar_url":"https://avatars.githubusercontent.com/u/9909685?v=3","gravatar_id":"","url":"https://api.github.com/users/rnp716","html_url":"https://github.com/rnp716","followers_url":"https://api.github.com/users/rnp716/followers","following_url":"https://api.github.com/users/rnp716/following{/other_user}","gists_url":"https://api.github.com/users/rnp716/gists{/gist_id}","starred_url":"https://api.github.com/users/rnp716/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rnp716/subscriptions","organizations_url":"https://api.github.com/users/rnp716/orgs","repos_url":"https://api.github.com/users/rnp716/repos","events_url":"https://api.github.com/users/rnp716/events{/privacy}","received_events_url":"https://api.github.com/users/rnp716/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/gr2m/moment.parseFormat/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-01-18T09:18:05Z","updated_at":"2015-09-03T20:30:06Z","closed_at":null,"body":"`moment.parseFormat('3/15')` parsed to `D/YY`, I expected: `M/D`\r\n\r\nAlthough D/YY is a valid interpretation, it's not the most intuitive one."},"comment":{"url":"https://api.github.com/repos/gr2m/moment.parseFormat/issues/comments/137565186","html_url":"https://github.com/gr2m/moment.parseFormat/issues/17#issuecomment-137565186","issue_url":"https://api.github.com/repos/gr2m/moment.parseFormat/issues/17","id":137565186,"user":{"login":"gr2m","id":39992,"avatar_url":"https://avatars.githubusercontent.com/u/39992?v=3","gravatar_id":"","url":"https://api.github.com/users/gr2m","html_url":"https://github.com/gr2m","followers_url":"https://api.github.com/users/gr2m/followers","following_url":"https://api.github.com/users/gr2m/following{/other_user}","gists_url":"https://api.github.com/users/gr2m/gists{/gist_id}","starred_url":"https://api.github.com/users/gr2m/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gr2m/subscriptions","organizations_url":"https://api.github.com/users/gr2m/orgs","repos_url":"https://api.github.com/users/gr2m/repos","events_url":"https://api.github.com/users/gr2m/events{/privacy}","received_events_url":"https://api.github.com/users/gr2m/received_events","type":"User","site_admin":false},"created_at":"2015-09-03T20:30:06Z","updated_at":"2015-09-03T20:30:06Z","body":"I'd suggest the following:\r\n\r\n1. if the last number is > 12, then we do Month/Year\r\n2. If the first number is > 12, then we do Day/Month\r\n3. If both is > 12, then ... somethings wrong\r\n4. If both is < 12, then default to Month/Year"}}