{"action":"created","comment":{"url":"https://api.github.com/repos/rentpath/react-basic-datepicker/pulls/comments/210420049","pull_request_review_id":146632945,"id":210420049,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxMDQyMDA0OQ==","diff_hunk":"@@ -44,10 +47,14 @@ export default class Calendar extends Component {\n   daysOfMonth() {\n     const daysOfMonth = []\n     const daysInMonth = getDaysInMonth(this.state.date) + 1\n-\n+    \n     for (let dateIndex = 1; dateIndex < daysInMonth; dateIndex += 1) {\n-      const isDisabled = isBefore(new Date(format(this.state.date, `MM/${dateIndex}/YYYY`)), new Date(format(this.props.minDate, 'MM/DD/YYYY')))\n-\n+      const dt = new Date(format(this.state.date, `MM/${dateIndex}/YYYY`))\n+      const isDisabled =\n+        isBefore(dt, new Date(format(this.props.minDate, 'MM/DD/YYYY'))) \n+        ||","path":"src/Calendar.js","position":34,"original_position":34,"commit_id":"a0411239f9e01642be0310379e2ba86d5fbf1a5b","original_commit_id":"a0411239f9e01642be0310379e2ba86d5fbf1a5b","user":{"login":"orionstein","id":4982511,"node_id":"MDQ6VXNlcjQ5ODI1MTE=","avatar_url":"https://avatars0.githubusercontent.com/u/4982511?v=4","gravatar_id":"","url":"https://api.github.com/users/orionstein","html_url":"https://github.com/orionstein","followers_url":"https://api.github.com/users/orionstein/followers","following_url":"https://api.github.com/users/orionstein/following{/other_user}","gists_url":"https://api.github.com/users/orionstein/gists{/gist_id}","starred_url":"https://api.github.com/users/orionstein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/orionstein/subscriptions","organizations_url":"https://api.github.com/users/orionstein/orgs","repos_url":"https://api.github.com/users/orionstein/repos","events_url":"https://api.github.com/users/orionstein/events{/privacy}","received_events_url":"https://api.github.com/users/orionstein/received_events","type":"User","site_admin":false},"body":"Can you put this at the end of line 54","created_at":"2018-08-15T21:45:52Z","updated_at":"2018-08-15T21:45:52Z","html_url":"https://github.com/rentpath/react-basic-datepicker/pull/3#discussion_r210420049","pull_request_url":"https://api.github.com/repos/rentpath/react-basic-datepicker/pulls/3","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/rentpath/react-basic-datepicker/pulls/comments/210420049"},"html":{"href":"https://github.com/rentpath/react-basic-datepicker/pull/3#discussion_r210420049"},"pull_request":{"href":"https://api.github.com/repos/rentpath/react-basic-datepicker/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/rentpath/react-basic-datepicker/pulls/3","id":208629154,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA4NjI5MTU0","html_url":"https://github.com/rentpath/react-basic-datepicker/pull/3","diff_url":"https://github.com/rentpath/react-basic-datepicker/pull/3.diff","patch_url":"https://github.com/rentpath/react-basic-datepicker/pull/3.patch","issue_url":"https://api.github.com/repos/rentpath/react-basic-datepicker/issues/3","number":3,"state":"open","locked":false,"title":"feature(calendar): Add maxdate","user":{"login":"cwklausing","id":11287094,"node_id":"MDQ6VXNlcjExMjg3MDk0","avatar_url":"https://avatars3.githubusercontent.com/u/11287094?v=4","gravatar_id":"","url":"https://api.github.com/users/cwklausing","html_url":"https://github.com/cwklausing","followers_url":"https://api.github.com/users/cwklausing/followers","following_url":"https://api.github.com/users/cwklausing/following{/other_user}","gists_url":"https://api.github.com/users/cwklausing/gists{/gist_id}","starred_url":"https://api.github.com/users/cwklausing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cwklausing/subscriptions","organizations_url":"https://api.github.com/users/cwklausing/orgs","repos_url":"https://api.github.com/users/cwklausing/repos","events_url":"https://api.github.com/users/cwklausing/events{/privacy}","received_events_url":"https://api.github.com/users/cwklausing/received_events","type":"User","site_admin":false},"body":"* Adds maxDate param\r\n* prevents click/state update on dates over maxDate\r\n* adds date-disabled styling for dates over maxDate","created_at":"2018-08-15T17:35:17Z","updated_at":"2018-08-15T21:45:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"356d243c3983ff39457b7d2bb3eca7ba88a8c974","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":898689216,"node_id":"MDU6TGFiZWw4OTg2ODkyMTY=","url":"https://api.github.com/repos/rentpath/react-basic-datepicker/labels/enhancement","name":"enhancement","color":"a2eeef","default":true}],"milestone":null,"commits_url":"https://api.github.com/repos/rentpath/react-basic-datepicker/pulls/3/commits","review_comments_url":"https://api.github.com/repos/rentpath/react-basic-datepicker/pulls/3/comments","review_comment_url":"https://api.github.com/repos/rentpath/react-basic-datepicker/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rentpath/react-basic-datepicker/issues/3/comments","statuses_url":"https://api.github.com/repos/rentpath/react-basic-datepicker/statuses/a0411239f9e01642be0310379e2ba86d5fbf1a5b","head":{"label":"rentpath:add-maxdate","ref":"add-maxdate","sha":"a0411239f9e01642be0310379e2ba86d5fbf1a5b","user":{"login":"rentpath","id":37622,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM3NjIy","avatar_url":"https://avatars3.githubusercontent.com/u/37622?v=4","gravatar_id":"","url":"https://api.github.com/users/rentpath","html_url":"https://github.com/rentpath","followers_url":"https://api.github.com/users/rentpath/followers","following_url":"https://api.github.com/users/rentpath/following{/other_user}","gists_url":"https://api.github.com/users/rentpath/gists{/gist_id}","starred_url":"https://api.github.com/users/rentpath/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rentpath/subscriptions","organizations_url":"https://api.github.com/users/rentpath/orgs","repos_url":"https://api.github.com/users/rentpath/repos","events_url":"https://api.github.com/users/rentpath/events{/privacy}","received_events_url":"https://api.github.com/users/rentpath/received_events","type":"Organization","site_admin":false},"repo":{"id":129152494,"node_id":"MDEwOlJlcG9zaXRvcnkxMjkxNTI0OTQ=","name":"react-basic-datepicker","full_name":"rentpath/react-basic-datepicker","owner":{"login":"rentpath","id":37622,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM3NjIy","avatar_url":"https://avatars3.githubusercontent.com/u/37622?v=4","gravatar_id":"","url":"https://api.github.com/users/rentpath","html_url":"https://github.com/rentpath","followers_url":"https://api.github.com/users/rentpath/followers","following_url":"https://api.github.com/users/rentpath/following{/other_user}","gists_url":"https://api.github.com/users/rentpath/gists{/gist_id}","starred_url":"https://api.github.com/users/rentpath/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rentpath/subscriptions","organizations_url":"https://api.github.com/users/rentpath/orgs","repos_url":"https://api.github.com/users/rentpath/repos","events_url":"https://api.github.com/users/rentpath/events{/privacy}","received_events_url":"https://api.github.com/users/rentpath/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rentpath/react-basic-datepicker","description":"A super-simple date-picker built with React","fork":true,"url":"https://api.github.com/repos/rentpath/react-basic-datepicker","forks_url":"https://api.github.com/repos/rentpath/react-basic-datepicker/forks","keys_url":"https://api.github.com/repos/rentpath/react-basic-datepicker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rentpath/react-basic-datepicker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rentpath/react-basic-datepicker/teams","hooks_url":"https://api.github.com/repos/rentpath/react-basic-datepicker/hooks","issue_events_url":"https://api.github.com/repos/rentpath/react-basic-datepicker/issues/events{/number}","events_url":"https://api.github.com/repos/rentpath/react-basic-datepicker/events","assignees_url":"https://api.github.com/repos/rentpath/react-basic-datepicker/assignees{/user}","branches_url":"https://api.github.com/repos/rentpath/react-basic-datepicker/branches{/branch}","tags_url":"https://api.github.com/repos/rentpath/react-basic-datepicker/tags","blobs_url":"https://api.github.com/repos/rentpath/react-basic-datepicker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rentpath/react-basic-datepicker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rentpath/react-basic-datepicker/git/refs{/sha}","trees_url":"https://api.github.com/repos/rentpath/react-basic-datepicker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rentpath/react-basic-datepicker/statuses/{sha}","languages_url":"https://api.github.com/repos/rentpath/react-basic-datepicker/languages","stargazers_url":"https://api.github.com/repos/rentpath/react-basic-datepicker/stargazers","contributors_url":"https://api.github.com/repos/rentpath/react-basic-datepicker/contributors","subscribers_url":"https://api.github.com/repos/rentpath/react-basic-datepicker/subscribers","subscription_url":"https://api.github.com/repos/rentpath/react-basic-datepicker/subscription","commits_url":"https://api.github.com/repos/rentpath/react-basic-datepicker/commits{/sha}","git_commits_url":"https://api.github.com/repos/rentpath/react-basic-datepicker/git/commits{/sha}","comments_url":"https://api.github.com/repos/rentpath/react-basic-datepicker/comments{/number}","issue_comment_url":"https://api.github.com/repos/rentpath/react-basic-datepicker/issues/comments{/number}","contents_url":"https://api.github.com/repos/rentpath/react-basic-datepicker/contents/{+path}","compare_url":"https://api.github.com/repos/rentpath/react-basic-datepicker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rentpath/react-basic-datepicker/merges","archive_url":"https://api.github.com/repos/rentpath/react-basic-datepicker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rentpath/react-basic-datepicker/downloads","issues_url":"https://api.github.com/repos/rentpath/react-basic-datepicker/issues{/number}","pulls_url":"https://api.github.com/repos/rentpath/react-basic-datepicker/pulls{/number}","milestones_url":"https://api.github.com/repos/rentpath/react-basic-datepicker/milestones{/number}","notifications_url":"https://api.github.com/repos/rentpath/react-basic-datepicker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rentpath/react-basic-datepicker/labels{/name}","releases_url":"https://api.github.com/repos/rentpath/react-basic-datepicker/releases{/id}","deployments_url":"https://api.github.com/repos/rentpath/react-basic-datepicker/deployments","created_at":"2018-04-11T20:49:07Z","updated_at":"2018-08-15T17:37:43Z","pushed_at":"2018-08-15T18:18:02Z","git_url":"git://github.com/rentpath/react-basic-datepicker.git","ssh_url":"git@github.com:rentpath/react-basic-datepicker.git","clone_url":"https://github.com/rentpath/react-basic-datepicker.git","svn_url":"https://github.com/rentpath/react-basic-datepicker","homepage":"https://chrisborrowdale.github.io/react-basic-datepicker/demo/","size":787,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"rentpath:master","ref":"master","sha":"0f164bf125dd15ae9f9b0d823b5200dad976e8c6","user":{"login":"rentpath","id":37622,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM3NjIy","avatar_url":"https://avatars3.githubusercontent.com/u/37622?v=4","gravatar_id":"","url":"https://api.github.com/users/rentpath","html_url":"https://github.com/rentpath","followers_url":"https://api.github.com/users/rentpath/followers","following_url":"https://api.github.com/users/rentpath/following{/other_user}","gists_url":"https://api.github.com/users/rentpath/gists{/gist_id}","starred_url":"https://api.github.com/users/rentpath/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rentpath/subscriptions","organizations_url":"https://api.github.com/users/rentpath/orgs","repos_url":"https://api.github.com/users/rentpath/repos","events_url":"https://api.github.com/users/rentpath/events{/privacy}","received_events_url":"https://api.github.com/users/rentpath/received_events","type":"Organization","site_admin":false},"repo":{"id":129152494,"node_id":"MDEwOlJlcG9zaXRvcnkxMjkxNTI0OTQ=","name":"react-basic-datepicker","full_name":"rentpath/react-basic-datepicker","owner":{"login":"rentpath","id":37622,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM3NjIy","avatar_url":"https://avatars3.githubusercontent.com/u/37622?v=4","gravatar_id":"","url":"https://api.github.com/users/rentpath","html_url":"https://github.com/rentpath","followers_url":"https://api.github.com/users/rentpath/followers","following_url":"https://api.github.com/users/rentpath/following{/other_user}","gists_url":"https://api.github.com/users/rentpath/gists{/gist_id}","starred_url":"https://api.github.com/users/rentpath/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rentpath/subscriptions","organizations_url":"https://api.github.com/users/rentpath/orgs","repos_url":"https://api.github.com/users/rentpath/repos","events_url":"https://api.github.com/users/rentpath/events{/privacy}","received_events_url":"https://api.github.com/users/rentpath/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rentpath/react-basic-datepicker","description":"A super-simple date-picker built with React","fork":true,"url":"https://api.github.com/repos/rentpath/react-basic-datepicker","forks_url":"https://api.github.com/repos/rentpath/react-basic-datepicker/forks","keys_url":"https://api.github.com/repos/rentpath/react-basic-datepicker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rentpath/react-basic-datepicker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rentpath/react-basic-datepicker/teams","hooks_url":"https://api.github.com/repos/rentpath/react-basic-datepicker/hooks","issue_events_url":"https://api.github.com/repos/rentpath/react-basic-datepicker/issues/events{/number}","events_url":"https://api.github.com/repos/rentpath/react-basic-datepicker/events","assignees_url":"https://api.github.com/repos/rentpath/react-basic-datepicker/assignees{/user}","branches_url":"https://api.github.com/repos/rentpath/react-basic-datepicker/branches{/branch}","tags_url":"https://api.github.com/repos/rentpath/react-basic-datepicker/tags","blobs_url":"https://api.github.com/repos/rentpath/react-basic-datepicker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rentpath/react-basic-datepicker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rentpath/react-basic-datepicker/git/refs{/sha}","trees_url":"https://api.github.com/repos/rentpath/react-basic-datepicker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rentpath/react-basic-datepicker/statuses/{sha}","languages_url":"https://api.github.com/repos/rentpath/react-basic-datepicker/languages","stargazers_url":"https://api.github.com/repos/rentpath/react-basic-datepicker/stargazers","contributors_url":"https://api.github.com/repos/rentpath/react-basic-datepicker/contributors","subscribers_url":"https://api.github.com/repos/rentpath/react-basic-datepicker/subscribers","subscription_url":"https://api.github.com/repos/rentpath/react-basic-datepicker/subscription","commits_url":"https://api.github.com/repos/rentpath/react-basic-datepicker/commits{/sha}","git_commits_url":"https://api.github.com/repos/rentpath/react-basic-datepicker/git/commits{/sha}","comments_url":"https://api.github.com/repos/rentpath/react-basic-datepicker/comments{/number}","issue_comment_url":"https://api.github.com/repos/rentpath/react-basic-datepicker/issues/comments{/number}","contents_url":"https://api.github.com/repos/rentpath/react-basic-datepicker/contents/{+path}","compare_url":"https://api.github.com/repos/rentpath/react-basic-datepicker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rentpath/react-basic-datepicker/merges","archive_url":"https://api.github.com/repos/rentpath/react-basic-datepicker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rentpath/react-basic-datepicker/downloads","issues_url":"https://api.github.com/repos/rentpath/react-basic-datepicker/issues{/number}","pulls_url":"https://api.github.com/repos/rentpath/react-basic-datepicker/pulls{/number}","milestones_url":"https://api.github.com/repos/rentpath/react-basic-datepicker/milestones{/number}","notifications_url":"https://api.github.com/repos/rentpath/react-basic-datepicker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rentpath/react-basic-datepicker/labels{/name}","releases_url":"https://api.github.com/repos/rentpath/react-basic-datepicker/releases{/id}","deployments_url":"https://api.github.com/repos/rentpath/react-basic-datepicker/deployments","created_at":"2018-04-11T20:49:07Z","updated_at":"2018-08-15T17:37:43Z","pushed_at":"2018-08-15T18:18:02Z","git_url":"git://github.com/rentpath/react-basic-datepicker.git","ssh_url":"git@github.com:rentpath/react-basic-datepicker.git","clone_url":"https://github.com/rentpath/react-basic-datepicker.git","svn_url":"https://github.com/rentpath/react-basic-datepicker","homepage":"https://chrisborrowdale.github.io/react-basic-datepicker/demo/","size":787,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rentpath/react-basic-datepicker/pulls/3"},"html":{"href":"https://github.com/rentpath/react-basic-datepicker/pull/3"},"issue":{"href":"https://api.github.com/repos/rentpath/react-basic-datepicker/issues/3"},"comments":{"href":"https://api.github.com/repos/rentpath/react-basic-datepicker/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/rentpath/react-basic-datepicker/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/rentpath/react-basic-datepicker/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rentpath/react-basic-datepicker/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/rentpath/react-basic-datepicker/statuses/a0411239f9e01642be0310379e2ba86d5fbf1a5b"}},"author_association":"NONE"}}
{"actor":{"display_login":"orionstein"}}