{"action":"created","issue":{"url":"https://api.github.com/repos/rajeshwarpatlolla/ionic-datepicker/issues/197","repository_url":"https://api.github.com/repos/rajeshwarpatlolla/ionic-datepicker","labels_url":"https://api.github.com/repos/rajeshwarpatlolla/ionic-datepicker/issues/197/labels{/name}","comments_url":"https://api.github.com/repos/rajeshwarpatlolla/ionic-datepicker/issues/197/comments","events_url":"https://api.github.com/repos/rajeshwarpatlolla/ionic-datepicker/issues/197/events","html_url":"https://github.com/rajeshwarpatlolla/ionic-datepicker/issues/197","id":151149219,"number":197,"title":"Doens't show year in datepicker","user":{"login":"thedoorbell","id":18674216,"avatar_url":"https://avatars.githubusercontent.com/u/18674216?v=3","gravatar_id":"","url":"https://api.github.com/users/thedoorbell","html_url":"https://github.com/thedoorbell","followers_url":"https://api.github.com/users/thedoorbell/followers","following_url":"https://api.github.com/users/thedoorbell/following{/other_user}","gists_url":"https://api.github.com/users/thedoorbell/gists{/gist_id}","starred_url":"https://api.github.com/users/thedoorbell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thedoorbell/subscriptions","organizations_url":"https://api.github.com/users/thedoorbell/orgs","repos_url":"https://api.github.com/users/thedoorbell/repos","events_url":"https://api.github.com/users/thedoorbell/events{/privacy}","received_events_url":"https://api.github.com/users/thedoorbell/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-04-26T14:25:37Z","updated_at":"2016-05-09T11:56:21Z","closed_at":"2016-05-09T11:56:21Z","body":"![image](https://cloud.githubusercontent.com/assets/18674216/14821416/579bcb02-0bd3-11e6-8ba8-12426ed5df5f.png)\r\n\r\nThere is code:\r\n```\r\nvar ipObj1 = {\r\n        callback: function (val) {  //Mandatory\r\n        },\r\n        from: new Date(1950, 0, 1),\r\n        to: new Date(2009, 0, 1),\r\n        inputDate: new Date(1957, 2, 15), \r\n        setLabel: 'Выбрать',\r\n        closeLabel: 'Отмена',\r\n        mondayFirst: true,\r\n        dateFormat: 'yyyy-MM-dd',\r\n        closeOnSelect: false,\r\n        templateType: 'popup' \r\n    };\r\n\r\n    $scope.openDatePicker = function(){\r\n        ionicDatePicker.openDatePicker(ipObj1);\r\n    };\r\n```\r\n\r\nAs you see at screenshot, inputDate is ok, but if month and day are selected, year is not. There is no any error. Can you help me?"},"comment":{"url":"https://api.github.com/repos/rajeshwarpatlolla/ionic-datepicker/issues/comments/217844842","html_url":"https://github.com/rajeshwarpatlolla/ionic-datepicker/issues/197#issuecomment-217844842","issue_url":"https://api.github.com/repos/rajeshwarpatlolla/ionic-datepicker/issues/197","id":217844842,"user":{"login":"rajeshwarpatlolla","id":9896335,"avatar_url":"https://avatars.githubusercontent.com/u/9896335?v=3","gravatar_id":"","url":"https://api.github.com/users/rajeshwarpatlolla","html_url":"https://github.com/rajeshwarpatlolla","followers_url":"https://api.github.com/users/rajeshwarpatlolla/followers","following_url":"https://api.github.com/users/rajeshwarpatlolla/following{/other_user}","gists_url":"https://api.github.com/users/rajeshwarpatlolla/gists{/gist_id}","starred_url":"https://api.github.com/users/rajeshwarpatlolla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rajeshwarpatlolla/subscriptions","organizations_url":"https://api.github.com/users/rajeshwarpatlolla/orgs","repos_url":"https://api.github.com/users/rajeshwarpatlolla/repos","events_url":"https://api.github.com/users/rajeshwarpatlolla/events{/privacy}","received_events_url":"https://api.github.com/users/rajeshwarpatlolla/received_events","type":"User","site_admin":false},"created_at":"2016-05-09T11:56:21Z","updated_at":"2016-05-09T11:56:21Z","body":"Please take a look at the demo page. It will show correctly. And also please double check the properties `from` and `to`, which should have the current year in the range or it should be in the range of `inputDate`."}}