{"action":"created","issue":{"url":"https://api.github.com/repos/Eonasdan/bootstrap-datetimepicker/issues/935","labels_url":"https://api.github.com/repos/Eonasdan/bootstrap-datetimepicker/issues/935/labels{/name}","comments_url":"https://api.github.com/repos/Eonasdan/bootstrap-datetimepicker/issues/935/comments","events_url":"https://api.github.com/repos/Eonasdan/bootstrap-datetimepicker/issues/935/events","html_url":"https://github.com/Eonasdan/bootstrap-datetimepicker/issues/935","id":63533975,"number":935,"title":"Can't use both defaultDate and enabledDates","user":{"login":"gabyshev","id":2675242,"avatar_url":"https://avatars.githubusercontent.com/u/2675242?v=3","gravatar_id":"","url":"https://api.github.com/users/gabyshev","html_url":"https://github.com/gabyshev","followers_url":"https://api.github.com/users/gabyshev/followers","following_url":"https://api.github.com/users/gabyshev/following{/other_user}","gists_url":"https://api.github.com/users/gabyshev/gists{/gist_id}","starred_url":"https://api.github.com/users/gabyshev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gabyshev/subscriptions","organizations_url":"https://api.github.com/users/gabyshev/orgs","repos_url":"https://api.github.com/users/gabyshev/repos","events_url":"https://api.github.com/users/gabyshev/events{/privacy}","received_events_url":"https://api.github.com/users/gabyshev/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Eonasdan/bootstrap-datetimepicker/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-03-22T13:51:07Z","updated_at":"2015-03-31T15:35:42Z","closed_at":null,"body":"jsfiddle: http://jsfiddle.net/vupap2fv/\r\nI want to restrict datetimepicker in only 1 day, and choose it as default.\r\n\r\nerror:\r\n\r\n    Uncaught TypeError: defaultDate() date passed is invalid according to component setup validations"},"comment":{"url":"https://api.github.com/repos/Eonasdan/bootstrap-datetimepicker/issues/comments/88136380","html_url":"https://github.com/Eonasdan/bootstrap-datetimepicker/issues/935#issuecomment-88136380","issue_url":"https://api.github.com/repos/Eonasdan/bootstrap-datetimepicker/issues/935","id":88136380,"user":{"login":"n0xic","id":11739767,"avatar_url":"https://avatars.githubusercontent.com/u/11739767?v=3","gravatar_id":"","url":"https://api.github.com/users/n0xic","html_url":"https://github.com/n0xic","followers_url":"https://api.github.com/users/n0xic/followers","following_url":"https://api.github.com/users/n0xic/following{/other_user}","gists_url":"https://api.github.com/users/n0xic/gists{/gist_id}","starred_url":"https://api.github.com/users/n0xic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/n0xic/subscriptions","organizations_url":"https://api.github.com/users/n0xic/orgs","repos_url":"https://api.github.com/users/n0xic/repos","events_url":"https://api.github.com/users/n0xic/events{/privacy}","received_events_url":"https://api.github.com/users/n0xic/received_events","type":"User","site_admin":false},"created_at":"2015-03-31T15:35:42Z","updated_at":"2015-03-31T15:35:42Z","body":"I have the same issue, although I have a few enabledDates passed, and I want to select one of them with the default date. I can't use minDate + maxDate in that case as it restricts my other enabled dates.\r\n\r\nI get the same error as stated above obviously.\r\n\r\nIf you have some other workarounds for that situation, please let me know in the meantime!\r\n\r\n<code>Uncaught TypeError: defaultDate() date passed is invalid according to component setup validations</code>"}}