{"action":"closed","number":79,"pull_request":{"url":"https://api.github.com/repos/Hacker0x01/react-datepicker/pulls/79","id":29177897,"html_url":"https://github.com/Hacker0x01/react-datepicker/pull/79","diff_url":"https://github.com/Hacker0x01/react-datepicker/pull/79.diff","patch_url":"https://github.com/Hacker0x01/react-datepicker/pull/79.patch","issue_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/issues/79","number":79,"state":"closed","locked":false,"title":"Show range of selected days in calendar","user":{"login":"lbekkema","id":997034,"avatar_url":"https://avatars.githubusercontent.com/u/997034?v=3","gravatar_id":"","url":"https://api.github.com/users/lbekkema","html_url":"https://github.com/lbekkema","followers_url":"https://api.github.com/users/lbekkema/followers","following_url":"https://api.github.com/users/lbekkema/following{/other_user}","gists_url":"https://api.github.com/users/lbekkema/gists{/gist_id}","starred_url":"https://api.github.com/users/lbekkema/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lbekkema/subscriptions","organizations_url":"https://api.github.com/users/lbekkema/orgs","repos_url":"https://api.github.com/users/lbekkema/repos","events_url":"https://api.github.com/users/lbekkema/events{/privacy}","received_events_url":"https://api.github.com/users/lbekkema/received_events","type":"User","site_admin":false},"body":"This diff adds the ability to show the range of days selected in the calendar when a start and end date is given. \r\n\r\nExample:\r\n\r\n![screen shot 2015-02-12 at 14 04 29](https://cloud.githubusercontent.com/assets/997034/6168039/ac158de2-b2c1-11e4-8478-c467698bb536.png)\r\n\r\nI used the [`moment-range`](https://github.com/gf3/moment-range) library, so it's easier to determine if a day is within the range. I wasn't able to achieve this with `moment-js`'s `isBetween` method. \r\n\r\nLet me know what you guys think! ","created_at":"2015-02-12T13:19:21Z","updated_at":"2015-10-29T13:41:27Z","closed_at":"2015-10-29T13:41:27Z","merged_at":null,"merge_commit_sha":"54b5e1b416cca08c5ea35588efbada33ff9a3346","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/pulls/79/commits","review_comments_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/pulls/79/comments","review_comment_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/issues/79/comments","statuses_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/statuses/a98fabfdeb47ed0ae05ca81c4c0cc203dab2cb86","head":{"label":"Hacker0x01:show-range","ref":"show-range","sha":"a98fabfdeb47ed0ae05ca81c4c0cc203dab2cb86","user":{"login":"Hacker0x01","id":3014877,"avatar_url":"https://avatars.githubusercontent.com/u/3014877?v=3","gravatar_id":"","url":"https://api.github.com/users/Hacker0x01","html_url":"https://github.com/Hacker0x01","followers_url":"https://api.github.com/users/Hacker0x01/followers","following_url":"https://api.github.com/users/Hacker0x01/following{/other_user}","gists_url":"https://api.github.com/users/Hacker0x01/gists{/gist_id}","starred_url":"https://api.github.com/users/Hacker0x01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hacker0x01/subscriptions","organizations_url":"https://api.github.com/users/Hacker0x01/orgs","repos_url":"https://api.github.com/users/Hacker0x01/repos","events_url":"https://api.github.com/users/Hacker0x01/events{/privacy}","received_events_url":"https://api.github.com/users/Hacker0x01/received_events","type":"Organization","site_admin":false},"repo":{"id":21088356,"name":"react-datepicker","full_name":"Hacker0x01/react-datepicker","owner":{"login":"Hacker0x01","id":3014877,"avatar_url":"https://avatars.githubusercontent.com/u/3014877?v=3","gravatar_id":"","url":"https://api.github.com/users/Hacker0x01","html_url":"https://github.com/Hacker0x01","followers_url":"https://api.github.com/users/Hacker0x01/followers","following_url":"https://api.github.com/users/Hacker0x01/following{/other_user}","gists_url":"https://api.github.com/users/Hacker0x01/gists{/gist_id}","starred_url":"https://api.github.com/users/Hacker0x01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hacker0x01/subscriptions","organizations_url":"https://api.github.com/users/Hacker0x01/orgs","repos_url":"https://api.github.com/users/Hacker0x01/repos","events_url":"https://api.github.com/users/Hacker0x01/events{/privacy}","received_events_url":"https://api.github.com/users/Hacker0x01/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Hacker0x01/react-datepicker","description":"A simple and reusable datepicker component for React","fork":false,"url":"https://api.github.com/repos/Hacker0x01/react-datepicker","forks_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/forks","keys_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/teams","hooks_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/hooks","issue_events_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/issues/events{/number}","events_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/events","assignees_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/assignees{/user}","branches_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/branches{/branch}","tags_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/tags","blobs_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/git/refs{/sha}","trees_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/statuses/{sha}","languages_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/languages","stargazers_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/stargazers","contributors_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/contributors","subscribers_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/subscribers","subscription_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/subscription","commits_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/commits{/sha}","git_commits_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/git/commits{/sha}","comments_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/comments{/number}","issue_comment_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/issues/comments{/number}","contents_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/contents/{+path}","compare_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/merges","archive_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/downloads","issues_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/issues{/number}","pulls_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/pulls{/number}","milestones_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/milestones{/number}","notifications_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/labels{/name}","releases_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/releases{/id}","created_at":"2014-06-22T07:40:48Z","updated_at":"2015-10-29T08:08:12Z","pushed_at":"2015-10-29T13:38:49Z","git_url":"git://github.com/Hacker0x01/react-datepicker.git","ssh_url":"git@github.com:Hacker0x01/react-datepicker.git","clone_url":"https://github.com/Hacker0x01/react-datepicker.git","svn_url":"https://github.com/Hacker0x01/react-datepicker","homepage":"https://hacker0x01.github.io/react-datepicker","size":5310,"stargazers_count":246,"watchers_count":246,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":131,"mirror_url":null,"open_issues_count":40,"forks":131,"open_issues":40,"watchers":246,"default_branch":"master"}},"base":{"label":"Hacker0x01:master","ref":"master","sha":"215fce3477c51c2e049ca5491447ccbe0e7c0089","user":{"login":"Hacker0x01","id":3014877,"avatar_url":"https://avatars.githubusercontent.com/u/3014877?v=3","gravatar_id":"","url":"https://api.github.com/users/Hacker0x01","html_url":"https://github.com/Hacker0x01","followers_url":"https://api.github.com/users/Hacker0x01/followers","following_url":"https://api.github.com/users/Hacker0x01/following{/other_user}","gists_url":"https://api.github.com/users/Hacker0x01/gists{/gist_id}","starred_url":"https://api.github.com/users/Hacker0x01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hacker0x01/subscriptions","organizations_url":"https://api.github.com/users/Hacker0x01/orgs","repos_url":"https://api.github.com/users/Hacker0x01/repos","events_url":"https://api.github.com/users/Hacker0x01/events{/privacy}","received_events_url":"https://api.github.com/users/Hacker0x01/received_events","type":"Organization","site_admin":false},"repo":{"id":21088356,"name":"react-datepicker","full_name":"Hacker0x01/react-datepicker","owner":{"login":"Hacker0x01","id":3014877,"avatar_url":"https://avatars.githubusercontent.com/u/3014877?v=3","gravatar_id":"","url":"https://api.github.com/users/Hacker0x01","html_url":"https://github.com/Hacker0x01","followers_url":"https://api.github.com/users/Hacker0x01/followers","following_url":"https://api.github.com/users/Hacker0x01/following{/other_user}","gists_url":"https://api.github.com/users/Hacker0x01/gists{/gist_id}","starred_url":"https://api.github.com/users/Hacker0x01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hacker0x01/subscriptions","organizations_url":"https://api.github.com/users/Hacker0x01/orgs","repos_url":"https://api.github.com/users/Hacker0x01/repos","events_url":"https://api.github.com/users/Hacker0x01/events{/privacy}","received_events_url":"https://api.github.com/users/Hacker0x01/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Hacker0x01/react-datepicker","description":"A simple and reusable datepicker component for React","fork":false,"url":"https://api.github.com/repos/Hacker0x01/react-datepicker","forks_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/forks","keys_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/teams","hooks_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/hooks","issue_events_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/issues/events{/number}","events_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/events","assignees_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/assignees{/user}","branches_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/branches{/branch}","tags_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/tags","blobs_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/git/refs{/sha}","trees_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/statuses/{sha}","languages_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/languages","stargazers_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/stargazers","contributors_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/contributors","subscribers_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/subscribers","subscription_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/subscription","commits_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/commits{/sha}","git_commits_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/git/commits{/sha}","comments_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/comments{/number}","issue_comment_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/issues/comments{/number}","contents_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/contents/{+path}","compare_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/merges","archive_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/downloads","issues_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/issues{/number}","pulls_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/pulls{/number}","milestones_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/milestones{/number}","notifications_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/labels{/name}","releases_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/releases{/id}","created_at":"2014-06-22T07:40:48Z","updated_at":"2015-10-29T08:08:12Z","pushed_at":"2015-10-29T13:38:49Z","git_url":"git://github.com/Hacker0x01/react-datepicker.git","ssh_url":"git@github.com:Hacker0x01/react-datepicker.git","clone_url":"https://github.com/Hacker0x01/react-datepicker.git","svn_url":"https://github.com/Hacker0x01/react-datepicker","homepage":"https://hacker0x01.github.io/react-datepicker","size":5310,"stargazers_count":246,"watchers_count":246,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":131,"mirror_url":null,"open_issues_count":40,"forks":131,"open_issues":40,"watchers":246,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Hacker0x01/react-datepicker/pulls/79"},"html":{"href":"https://github.com/Hacker0x01/react-datepicker/pull/79"},"issue":{"href":"https://api.github.com/repos/Hacker0x01/react-datepicker/issues/79"},"comments":{"href":"https://api.github.com/repos/Hacker0x01/react-datepicker/issues/79/comments"},"review_comments":{"href":"https://api.github.com/repos/Hacker0x01/react-datepicker/pulls/79/comments"},"review_comment":{"href":"https://api.github.com/repos/Hacker0x01/react-datepicker/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Hacker0x01/react-datepicker/pulls/79/commits"},"statuses":{"href":"https://api.github.com/repos/Hacker0x01/react-datepicker/statuses/a98fabfdeb47ed0ae05ca81c4c0cc203dab2cb86"}},"merged":false,"mergeable":false,"mergeable_state":"dirty","merged_by":null,"comments":2,"review_comments":1,"commits":1,"additions":50,"deletions":7,"changed_files":8}}