{"action":"closed","issue":{"url":"https://api.github.com/repos/restorando/angular-pickadate/issues/46","labels_url":"https://api.github.com/repos/restorando/angular-pickadate/issues/46/labels{/name}","comments_url":"https://api.github.com/repos/restorando/angular-pickadate/issues/46/comments","events_url":"https://api.github.com/repos/restorando/angular-pickadate/issues/46/events","html_url":"https://github.com/restorando/angular-pickadate/issues/46","id":62014005,"number":46,"title":"Date change does not work if the new month is different than the current","user":{"login":"Kraku","id":4125286,"avatar_url":"https://avatars.githubusercontent.com/u/4125286?v=3","gravatar_id":"","url":"https://api.github.com/users/Kraku","html_url":"https://github.com/Kraku","followers_url":"https://api.github.com/users/Kraku/followers","following_url":"https://api.github.com/users/Kraku/following{/other_user}","gists_url":"https://api.github.com/users/Kraku/gists{/gist_id}","starred_url":"https://api.github.com/users/Kraku/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kraku/subscriptions","organizations_url":"https://api.github.com/users/Kraku/orgs","repos_url":"https://api.github.com/users/Kraku/repos","events_url":"https://api.github.com/users/Kraku/events{/privacy}","received_events_url":"https://api.github.com/users/Kraku/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-16T08:54:45Z","updated_at":"2015-03-17T09:37:05Z","closed_at":"2015-03-17T09:37:05Z","body":"It is not possible to change the date by a model if the new month is different than the current.\r\n\r\nexample:\r\n```js\r\n$scope.date = '2015-03-12';\r\n```\r\n\r\n```html\r\n<button type=\"button\" ng-click=\"data='2015-04-12'\">click</button>\r\n```\r\n\r\nAfter click $scope.date will be undefined."}}