{"action":"closed","issue":{"url":"https://api.github.com/repos/angular-ui/bootstrap/issues/4233","labels_url":"https://api.github.com/repos/angular-ui/bootstrap/issues/4233/labels{/name}","comments_url":"https://api.github.com/repos/angular-ui/bootstrap/issues/4233/comments","events_url":"https://api.github.com/repos/angular-ui/bootstrap/issues/4233/events","html_url":"https://github.com/angular-ui/bootstrap/issues/4233","id":101832143,"number":4233,"title":"[datepicker] format ","user":{"login":"lgaudez","id":1370888,"avatar_url":"https://avatars.githubusercontent.com/u/1370888?v=3","gravatar_id":"","url":"https://api.github.com/users/lgaudez","html_url":"https://github.com/lgaudez","followers_url":"https://api.github.com/users/lgaudez/followers","following_url":"https://api.github.com/users/lgaudez/following{/other_user}","gists_url":"https://api.github.com/users/lgaudez/gists{/gist_id}","starred_url":"https://api.github.com/users/lgaudez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lgaudez/subscriptions","organizations_url":"https://api.github.com/users/lgaudez/orgs","repos_url":"https://api.github.com/users/lgaudez/repos","events_url":"https://api.github.com/users/lgaudez/events{/privacy}","received_events_url":"https://api.github.com/users/lgaudez/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/resolution:%20support","name":"resolution: support","color":"c7def8"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-08-19T08:14:58Z","updated_at":"2015-08-21T14:25:20Z","closed_at":"2015-08-21T14:25:20Z","body":"I just upgraded from ui-bootstrap 0.13.0 to 0.13.3 and I got a problem with my datepicker directive.\r\n\r\nAs you can see in this plunkr : [here](http://plnkr.co/edit/toi8qHb1cFVRNxZzzLYY?p=preview)\r\n\r\nI have a directive that convert a date to a localdate and format ngModel in iso format (yyyy-MM-dd).\r\n\r\nEverything works fine when I don't set \r\n>  datepickerPopupConfig.datepickerPopup = 'dd/MM/yyyy';\r\n\r\nBut when i uncomment this line (at the bottom of example.js file), if I choose a date nothing is set in ngModel.$modelValue and ngModel is markup as 'ng-invalid-date'. \r\n\r\nIf I set the input to type=\"date\", this is working but I don't want to do that.\r\n\r\nIs this an issue of ui-bootstrap? Am I doing something wrong?\r\n\r\nThanks a lot"}}