{"action":"created","issue":{"url":"https://api.github.com/repos/RobinHerbots/jquery.inputmask/issues/1204","repository_url":"https://api.github.com/repos/RobinHerbots/jquery.inputmask","labels_url":"https://api.github.com/repos/RobinHerbots/jquery.inputmask/issues/1204/labels{/name}","comments_url":"https://api.github.com/repos/RobinHerbots/jquery.inputmask/issues/1204/comments","events_url":"https://api.github.com/repos/RobinHerbots/jquery.inputmask/issues/1204/events","html_url":"https://github.com/RobinHerbots/jquery.inputmask/pull/1204","id":137358152,"number":1204,"title":"date.extensions: maxyear current or future fix","user":{"login":"kendaleiv","id":1012917,"avatar_url":"https://avatars.githubusercontent.com/u/1012917?v=3","gravatar_id":"","url":"https://api.github.com/users/kendaleiv","html_url":"https://github.com/kendaleiv","followers_url":"https://api.github.com/users/kendaleiv/followers","following_url":"https://api.github.com/users/kendaleiv/following{/other_user}","gists_url":"https://api.github.com/users/kendaleiv/gists{/gist_id}","starred_url":"https://api.github.com/users/kendaleiv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kendaleiv/subscriptions","organizations_url":"https://api.github.com/users/kendaleiv/orgs","repos_url":"https://api.github.com/users/kendaleiv/repos","events_url":"https://api.github.com/users/kendaleiv/events{/privacy}","received_events_url":"https://api.github.com/users/kendaleiv/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-29T20:09:56Z","updated_at":"2016-02-29T20:13:15Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/RobinHerbots/jquery.inputmask/pulls/1204","html_url":"https://github.com/RobinHerbots/jquery.inputmask/pull/1204","diff_url":"https://github.com/RobinHerbots/jquery.inputmask/pull/1204.diff","patch_url":"https://github.com/RobinHerbots/jquery.inputmask/pull/1204.patch"},"body":"`minyear` in 19xx and `maxyear` in 20xx, and `maxyear` greater than or equal to the current year, then it will only accept two digit years less than the current year.\r\n\r\nPrior to this PR:\r\n\r\n| minyear | maxyear | keyed | expected | actual |\r\n| ----------- |  ----------- | ------- | ------------- | -------- |\r\n1900 | 2016 | 13 | 2013 | 2013\r\n1900 | 2016 | 17 | 1917 | ----\r\n"},"comment":{"url":"https://api.github.com/repos/RobinHerbots/jquery.inputmask/issues/comments/190364127","html_url":"https://github.com/RobinHerbots/jquery.inputmask/pull/1204#issuecomment-190364127","issue_url":"https://api.github.com/repos/RobinHerbots/jquery.inputmask/issues/1204","id":190364127,"user":{"login":"tgharold","id":4880437,"avatar_url":"https://avatars.githubusercontent.com/u/4880437?v=3","gravatar_id":"","url":"https://api.github.com/users/tgharold","html_url":"https://github.com/tgharold","followers_url":"https://api.github.com/users/tgharold/followers","following_url":"https://api.github.com/users/tgharold/following{/other_user}","gists_url":"https://api.github.com/users/tgharold/gists{/gist_id}","starred_url":"https://api.github.com/users/tgharold/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tgharold/subscriptions","organizations_url":"https://api.github.com/users/tgharold/orgs","repos_url":"https://api.github.com/users/tgharold/repos","events_url":"https://api.github.com/users/tgharold/events{/privacy}","received_events_url":"https://api.github.com/users/tgharold/received_events","type":"User","site_admin":false},"created_at":"2016-02-29T20:13:15Z","updated_at":"2016-02-29T20:13:15Z","body":"Additional information about this bug:\r\n\r\nhttp://jsfiddle.net/ThomasH/108grs9g/\r\n\r\nThere are (3) date forms on this JSFiddle.  One with a max year of 2015, one with 2016, one with 2017.\r\n\r\nTyping in \"3/3/88\" for the maxyear=2015 works.  But for 2016 and 2017 maxyear values, the 88 is not recognized as \"1988\" as it should be."}}