{"action":"closed","issue":{"url":"https://api.github.com/repos/dangrossman/bootstrap-daterangepicker/issues/1009","repository_url":"https://api.github.com/repos/dangrossman/bootstrap-daterangepicker","labels_url":"https://api.github.com/repos/dangrossman/bootstrap-daterangepicker/issues/1009/labels{/name}","comments_url":"https://api.github.com/repos/dangrossman/bootstrap-daterangepicker/issues/1009/comments","events_url":"https://api.github.com/repos/dangrossman/bootstrap-daterangepicker/issues/1009/events","html_url":"https://github.com/dangrossman/bootstrap-daterangepicker/issues/1009","id":139481258,"number":1009,"title":"Time picker does not grey out when specifying a dateLimit and a maxDate","user":{"login":"WaleedTayeb","id":10205171,"avatar_url":"https://avatars.githubusercontent.com/u/10205171?v=3","gravatar_id":"","url":"https://api.github.com/users/WaleedTayeb","html_url":"https://github.com/WaleedTayeb","followers_url":"https://api.github.com/users/WaleedTayeb/followers","following_url":"https://api.github.com/users/WaleedTayeb/following{/other_user}","gists_url":"https://api.github.com/users/WaleedTayeb/gists{/gist_id}","starred_url":"https://api.github.com/users/WaleedTayeb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WaleedTayeb/subscriptions","organizations_url":"https://api.github.com/users/WaleedTayeb/orgs","repos_url":"https://api.github.com/users/WaleedTayeb/repos","events_url":"https://api.github.com/users/WaleedTayeb/events{/privacy}","received_events_url":"https://api.github.com/users/WaleedTayeb/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-09T05:42:17Z","updated_at":"2016-05-25T20:29:16Z","closed_at":"2016-05-25T20:29:16Z","body":"Example from the demo page:\r\n\r\n$('#demo').daterangepicker({\r\n    \"timePicker\": true,\r\n    \"timePicker24Hour\": true,\r\n    \"dateLimit\": {\r\n        \"days\": 7\r\n    },\r\n    \"startDate\": \"03/03/2016\",\r\n    \"endDate\": \"03/09/2016\",\r\n    \"maxDate\": \"03/09/2016\"\r\n}, function(start, end, label) {\r\n  console.log(\"New date range selected: ' + start.format('YYYY-MM-DD') + ' to ' + end.format('YYYY-MM-DD') + ' (predefined range: ' + label + ')\");\r\n});\r\n\r\nSpecifying a max date along with a dateLimit will not cause the timepicker to be greyed out when attempting to select more than the specifying limit."}}
{"actor":{"display_login":"dangrossman"}}