{"action":"created","issue":{"url":"https://api.github.com/repos/angular-ui/bootstrap/issues/3875","labels_url":"https://api.github.com/repos/angular-ui/bootstrap/issues/3875/labels{/name}","comments_url":"https://api.github.com/repos/angular-ui/bootstrap/issues/3875/comments","events_url":"https://api.github.com/repos/angular-ui/bootstrap/issues/3875/events","html_url":"https://github.com/angular-ui/bootstrap/issues/3875","id":92048850,"number":3875,"title":"Using alternative formatting breaks validation","user":{"login":"robbaman","id":4688582,"avatar_url":"https://avatars.githubusercontent.com/u/4688582?v=3","gravatar_id":"","url":"https://api.github.com/users/robbaman","html_url":"https://github.com/robbaman","followers_url":"https://api.github.com/users/robbaman/followers","following_url":"https://api.github.com/users/robbaman/following{/other_user}","gists_url":"https://api.github.com/users/robbaman/gists{/gist_id}","starred_url":"https://api.github.com/users/robbaman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robbaman/subscriptions","organizations_url":"https://api.github.com/users/robbaman/orgs","repos_url":"https://api.github.com/users/robbaman/repos","events_url":"https://api.github.com/users/robbaman/events{/privacy}","received_events_url":"https://api.github.com/users/robbaman/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/angular-ui/bootstrap/labels/component:%20datepicker","name":"component: datepicker","color":"ffffff"},{"url":"https://api.github.com/repos/angular-ui/bootstrap/labels/needs:%20investigation","name":"needs: investigation","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-30T10:00:56Z","updated_at":"2015-07-02T02:47:28Z","closed_at":null,"body":"When using an alternative formatting (in my case dd-MM-yyyy) the validation breaks when typing in the textbox.\r\n\r\nhttp://plnkr.co/edit/ZdyqcUpFW6dxcqZsS8CE?p=preview\r\n\r\nThis appears to be due to an issue where the baseDate passed to the parse function of the parse may be an invalid date. If this is the case, the parser will always keep spitting out invalid dates.\r\n\r\nI'll try to issue a PM with a fix for the issue."},"comment":{"url":"https://api.github.com/repos/angular-ui/bootstrap/issues/comments/117883494","html_url":"https://github.com/angular-ui/bootstrap/issues/3875#issuecomment-117883494","issue_url":"https://api.github.com/repos/angular-ui/bootstrap/issues/3875","id":117883494,"user":{"login":"wesleycho","id":1703387,"avatar_url":"https://avatars.githubusercontent.com/u/1703387?v=3","gravatar_id":"","url":"https://api.github.com/users/wesleycho","html_url":"https://github.com/wesleycho","followers_url":"https://api.github.com/users/wesleycho/followers","following_url":"https://api.github.com/users/wesleycho/following{/other_user}","gists_url":"https://api.github.com/users/wesleycho/gists{/gist_id}","starred_url":"https://api.github.com/users/wesleycho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wesleycho/subscriptions","organizations_url":"https://api.github.com/users/wesleycho/orgs","repos_url":"https://api.github.com/users/wesleycho/repos","events_url":"https://api.github.com/users/wesleycho/events{/privacy}","received_events_url":"https://api.github.com/users/wesleycho/received_events","type":"User","site_admin":false},"created_at":"2015-07-02T02:47:28Z","updated_at":"2015-07-02T02:47:28Z","body":"This appears to be a duplicate that should be fixed by #3759."}}