{"action":"closed","issue":{"url":"https://api.github.com/repos/aurelia/validation/issues/313","repository_url":"https://api.github.com/repos/aurelia/validation","labels_url":"https://api.github.com/repos/aurelia/validation/issues/313/labels{/name}","comments_url":"https://api.github.com/repos/aurelia/validation/issues/313/comments","events_url":"https://api.github.com/repos/aurelia/validation/issues/313/events","html_url":"https://github.com/aurelia/validation/issues/313","id":174835341,"number":313,"title":"Errors with Date Custom Rule in Documentation","user":{"login":"y2k4life","id":10999532,"avatar_url":"https://avatars.githubusercontent.com/u/10999532?v=3","gravatar_id":"","url":"https://api.github.com/users/y2k4life","html_url":"https://github.com/y2k4life","followers_url":"https://api.github.com/users/y2k4life/followers","following_url":"https://api.github.com/users/y2k4life/following{/other_user}","gists_url":"https://api.github.com/users/y2k4life/gists{/gist_id}","starred_url":"https://api.github.com/users/y2k4life/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/y2k4life/subscriptions","organizations_url":"https://api.github.com/users/y2k4life/orgs","repos_url":"https://api.github.com/users/y2k4life/repos","events_url":"https://api.github.com/users/y2k4life/events{/privacy}","received_events_url":"https://api.github.com/users/y2k4life/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-09-02T19:49:49Z","updated_at":"2016-09-05T21:34:59Z","closed_at":"2016-09-05T21:34:59Z","body":"The example in the [Custom Rules](http://aurelia.io/hub.html#/doc/article/aurelia/validation/latest/validation-basics/9) section for Date do not work.\r\n\r\nBelow is a link to a gist that demonstrates the errors. On that gist there is a form with two inputs, input A which follows the example in the documentation and B which are proposed changes to fix the issues. Below the link are 3 simple test to compare the differences between A and B along with the results. The big issue is test number 3 even though the date is valid with example A you still get an error message.\r\n\r\nhttps://gist.run/?id=16a95f1011028170fc6d5e200c196314\r\n\r\n1) Leave Blank\r\nSample A - You get two Validation Message, 'Required' & 'Must be date'\r\nSample B - One Validation Message, 'Required'\r\n2) Enter 'ABC'\r\nSample A - One Validation Message, 'Must be date'\r\nSample B - One Validation Message, 'Must be date'\r\n3) Enter '01/01/2016'\r\nSample A - One Validation Message, 'Must be date'\r\nSample B - Valid"}}
{"actor":{"display_login":"jdanyow"}}