{"action":"created","issue":{"url":"https://api.github.com/repos/Eonasdan/bootstrap-datetimepicker/issues/761","labels_url":"https://api.github.com/repos/Eonasdan/bootstrap-datetimepicker/issues/761/labels{/name}","comments_url":"https://api.github.com/repos/Eonasdan/bootstrap-datetimepicker/issues/761/comments","events_url":"https://api.github.com/repos/Eonasdan/bootstrap-datetimepicker/issues/761/events","html_url":"https://github.com/Eonasdan/bootstrap-datetimepicker/issues/761","id":54827618,"number":761,"title":"v4: error on year only mode","user":{"login":"tedliang","id":1089679,"avatar_url":"https://avatars.githubusercontent.com/u/1089679?v=3","gravatar_id":"","url":"https://api.github.com/users/tedliang","html_url":"https://github.com/tedliang","followers_url":"https://api.github.com/users/tedliang/followers","following_url":"https://api.github.com/users/tedliang/following{/other_user}","gists_url":"https://api.github.com/users/tedliang/gists{/gist_id}","starred_url":"https://api.github.com/users/tedliang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tedliang/subscriptions","organizations_url":"https://api.github.com/users/tedliang/orgs","repos_url":"https://api.github.com/users/tedliang/repos","events_url":"https://api.github.com/users/tedliang/events{/privacy}","received_events_url":"https://api.github.com/users/tedliang/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Eonasdan/bootstrap-datetimepicker/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/Eonasdan/bootstrap-datetimepicker/labels/v4","name":"v4","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-01-20T00:02:27Z","updated_at":"2015-01-22T03:58:39Z","closed_at":null,"body":"When format is 'YYYY', error 'Uncaught TypeError: undefined is not a function' will be thrown after selecting any year in v4.0.0.\r\nhttp://jsfiddle.net/m641r23m/1/"},"comment":{"url":"https://api.github.com/repos/Eonasdan/bootstrap-datetimepicker/issues/comments/70968160","html_url":"https://github.com/Eonasdan/bootstrap-datetimepicker/issues/761#issuecomment-70968160","issue_url":"https://api.github.com/repos/Eonasdan/bootstrap-datetimepicker/issues/761","id":70968160,"user":{"login":"btecu","id":7517745,"avatar_url":"https://avatars.githubusercontent.com/u/7517745?v=3","gravatar_id":"","url":"https://api.github.com/users/btecu","html_url":"https://github.com/btecu","followers_url":"https://api.github.com/users/btecu/followers","following_url":"https://api.github.com/users/btecu/following{/other_user}","gists_url":"https://api.github.com/users/btecu/gists{/gist_id}","starred_url":"https://api.github.com/users/btecu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/btecu/subscriptions","organizations_url":"https://api.github.com/users/btecu/orgs","repos_url":"https://api.github.com/users/btecu/repos","events_url":"https://api.github.com/users/btecu/events{/privacy}","received_events_url":"https://api.github.com/users/btecu/received_events","type":"User","site_admin":false},"created_at":"2015-01-22T03:58:39Z","updated_at":"2015-01-22T03:58:39Z","body":"The bug is also reproducible on the demo page.\r\nhttp://eonasdan.github.io/bootstrap-datetimepicker/#min-view-mode"}}