{"action":"created","issue":{"url":"https://api.github.com/repos/angular-ui/bootstrap/issues/4802","labels_url":"https://api.github.com/repos/angular-ui/bootstrap/issues/4802/labels{/name}","comments_url":"https://api.github.com/repos/angular-ui/bootstrap/issues/4802/comments","events_url":"https://api.github.com/repos/angular-ui/bootstrap/issues/4802/events","html_url":"https://github.com/angular-ui/bootstrap/issues/4802","id":114559862,"number":4802,"title":"Datepicker timestamp validation stills fails","user":{"login":"f1ght4fun","id":12987662,"avatar_url":"https://avatars.githubusercontent.com/u/12987662?v=3","gravatar_id":"","url":"https://api.github.com/users/f1ght4fun","html_url":"https://github.com/f1ght4fun","followers_url":"https://api.github.com/users/f1ght4fun/followers","following_url":"https://api.github.com/users/f1ght4fun/following{/other_user}","gists_url":"https://api.github.com/users/f1ght4fun/gists{/gist_id}","starred_url":"https://api.github.com/users/f1ght4fun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/f1ght4fun/subscriptions","organizations_url":"https://api.github.com/users/f1ght4fun/orgs","repos_url":"https://api.github.com/users/f1ght4fun/repos","events_url":"https://api.github.com/users/f1ght4fun/events{/privacy}","received_events_url":"https://api.github.com/users/f1ght4fun/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:%20plunkr","name":"needs: plunkr","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-02T09:44:43Z","updated_at":"2015-11-02T15:38:53Z","closed_at":null,"body":"Can anyone help as it is still not working for me. I'm on the last 0.14.3 release\r\n\r\n\"1990-08-01T00:00:00\" datetime field is not handled correctly in validator func and returns undefined so on validation form fails\r\n\r\nangular.IsNumber and angular.IsDate obv return false when trying to parse this timestamp.\r\n\r\nAs date format is set to dd.MM.yyyy in datepicker so upon trying to execute next if block\r\n\r\nif (angular.isString(value)) {\r\n      var date = dateParser.parse(value, dateFormat);\r\n      return !isNaN(date);\r\n\r\nit fails because Parser uses exact format.\r\n\r\nAny ideas?"},"comment":{"url":"https://api.github.com/repos/angular-ui/bootstrap/issues/comments/153056248","html_url":"https://github.com/angular-ui/bootstrap/issues/4802#issuecomment-153056248","issue_url":"https://api.github.com/repos/angular-ui/bootstrap/issues/4802","id":153056248,"user":{"login":"f1ght4fun","id":12987662,"avatar_url":"https://avatars.githubusercontent.com/u/12987662?v=3","gravatar_id":"","url":"https://api.github.com/users/f1ght4fun","html_url":"https://github.com/f1ght4fun","followers_url":"https://api.github.com/users/f1ght4fun/followers","following_url":"https://api.github.com/users/f1ght4fun/following{/other_user}","gists_url":"https://api.github.com/users/f1ght4fun/gists{/gist_id}","starred_url":"https://api.github.com/users/f1ght4fun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/f1ght4fun/subscriptions","organizations_url":"https://api.github.com/users/f1ght4fun/orgs","repos_url":"https://api.github.com/users/f1ght4fun/repos","events_url":"https://api.github.com/users/f1ght4fun/events{/privacy}","received_events_url":"https://api.github.com/users/f1ght4fun/received_events","type":"User","site_admin":false},"created_at":"2015-11-02T15:38:53Z","updated_at":"2015-11-02T15:38:53Z","body":"http://embed.plnkr.co/jXyvWEz4ddMBIHHyq7st/preview\r\n\r\nPlease check.\r\n\r\nAlso i managed to fix that issue by updating validator function by adding \r\n\r\nelse if (!isNaN(Date.parse(value))) {\r\n        return true;\r\n    }"}}