{"action":"created","issue":{"url":"https://api.github.com/repos/angular-ui/bootstrap/issues/3072","labels_url":"https://api.github.com/repos/angular-ui/bootstrap/issues/3072/labels{/name}","comments_url":"https://api.github.com/repos/angular-ui/bootstrap/issues/3072/comments","events_url":"https://api.github.com/repos/angular-ui/bootstrap/issues/3072/events","html_url":"https://github.com/angular-ui/bootstrap/issues/3072","id":51474383,"number":3072,"title":"timepicker: custom model data","user":{"login":"UltCombo","id":2090712,"avatar_url":"https://avatars.githubusercontent.com/u/2090712?v=3","gravatar_id":"","url":"https://api.github.com/users/UltCombo","html_url":"https://github.com/UltCombo","followers_url":"https://api.github.com/users/UltCombo/followers","following_url":"https://api.github.com/users/UltCombo/following{/other_user}","gists_url":"https://api.github.com/users/UltCombo/gists{/gist_id}","starred_url":"https://api.github.com/users/UltCombo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UltCombo/subscriptions","organizations_url":"https://api.github.com/users/UltCombo/orgs","repos_url":"https://api.github.com/users/UltCombo/repos","events_url":"https://api.github.com/users/UltCombo/events{/privacy}","received_events_url":"https://api.github.com/users/UltCombo/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/component:%20timepicker","name":"component: timepicker","color":"FFFFFF"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/angular-ui/bootstrap/milestones/14","html_url":"https://github.com/angular-ui/bootstrap/milestones/Backlog","labels_url":"https://api.github.com/repos/angular-ui/bootstrap/milestones/14/labels","id":806073,"number":14,"title":"Backlog","description":"Holds the backlog of issues and pull requests that have been triaged.","creator":{"login":"chrisirhc","id":132584,"avatar_url":"https://avatars.githubusercontent.com/u/132584?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisirhc","html_url":"https://github.com/chrisirhc","followers_url":"https://api.github.com/users/chrisirhc/followers","following_url":"https://api.github.com/users/chrisirhc/following{/other_user}","gists_url":"https://api.github.com/users/chrisirhc/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisirhc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisirhc/subscriptions","organizations_url":"https://api.github.com/users/chrisirhc/orgs","repos_url":"https://api.github.com/users/chrisirhc/repos","events_url":"https://api.github.com/users/chrisirhc/events{/privacy}","received_events_url":"https://api.github.com/users/chrisirhc/received_events","type":"User","site_admin":false},"open_issues":151,"closed_issues":57,"state":"open","created_at":"2014-09-29T01:22:44Z","updated_at":"2015-05-30T22:29:27Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2014-12-09T20:02:20Z","updated_at":"2015-05-30T22:29:27Z","closed_at":"2015-05-30T22:29:27Z","body":"Hello,\r\nIs there any way to customize the model data set by ui-bootstrap's datepicker?\r\n\r\nI thought creating my own directive with ngModel $parsers/$formatters would be the solution, but I cannot seem to get it right.\r\n\r\nIn my specific use case, I'd like the model to store the time in seconds. That is, `hour * 3600 + minutes * 60`. See [plunker](http://plnkr.co/edit/PL0aBBy7VsL2i1rMp6B3?p=preview). The issues I've found so far:\r\n- Setting the model value (in the `$scope`) is not having an effect;\r\n- For some reason, the timepicker cannot select a time past `21:00`.\r\n\r\nAny pointers would be a great help. Thanks."},"comment":{"url":"https://api.github.com/repos/angular-ui/bootstrap/issues/comments/107096536","html_url":"https://github.com/angular-ui/bootstrap/issues/3072#issuecomment-107096536","issue_url":"https://api.github.com/repos/angular-ui/bootstrap/issues/3072","id":107096536,"user":{"login":"rvanbaalen","id":220637,"avatar_url":"https://avatars.githubusercontent.com/u/220637?v=3","gravatar_id":"","url":"https://api.github.com/users/rvanbaalen","html_url":"https://github.com/rvanbaalen","followers_url":"https://api.github.com/users/rvanbaalen/followers","following_url":"https://api.github.com/users/rvanbaalen/following{/other_user}","gists_url":"https://api.github.com/users/rvanbaalen/gists{/gist_id}","starred_url":"https://api.github.com/users/rvanbaalen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rvanbaalen/subscriptions","organizations_url":"https://api.github.com/users/rvanbaalen/orgs","repos_url":"https://api.github.com/users/rvanbaalen/repos","events_url":"https://api.github.com/users/rvanbaalen/events{/privacy}","received_events_url":"https://api.github.com/users/rvanbaalen/received_events","type":"User","site_admin":false},"created_at":"2015-05-30T22:29:27Z","updated_at":"2015-05-30T22:29:27Z","body":"https://github.com/angular-ui/bootstrap#need-help"}}