{"action":"opened","number":12963,"pull_request":{"url":"https://api.github.com/repos/WordPress/gutenberg/pulls/12963","id":239337931,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM5MzM3OTMx","html_url":"https://github.com/WordPress/gutenberg/pull/12963","diff_url":"https://github.com/WordPress/gutenberg/pull/12963.diff","patch_url":"https://github.com/WordPress/gutenberg/pull/12963.patch","issue_url":"https://api.github.com/repos/WordPress/gutenberg/issues/12963","number":12963,"state":"open","locked":false,"title":"Datepicker: Allow null value for currentDate on mounting","user":{"login":"psealock","id":1922453,"node_id":"MDQ6VXNlcjE5MjI0NTM=","avatar_url":"https://avatars2.githubusercontent.com/u/1922453?v=4","gravatar_id":"","url":"https://api.github.com/users/psealock","html_url":"https://github.com/psealock","followers_url":"https://api.github.com/users/psealock/followers","following_url":"https://api.github.com/users/psealock/following{/other_user}","gists_url":"https://api.github.com/users/psealock/gists{/gist_id}","starred_url":"https://api.github.com/users/psealock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/psealock/subscriptions","organizations_url":"https://api.github.com/users/psealock/orgs","repos_url":"https://api.github.com/users/psealock/repos","events_url":"https://api.github.com/users/psealock/events{/privacy}","received_events_url":"https://api.github.com/users/psealock/received_events","type":"User","site_admin":false},"body":"## Description\r\nWhen a `null` or `undefined` value is passed to `<DatePicker >`, don't set the date to current date. Instead, allow the value to remain null such that no selection is visible on the calendar.\r\n\r\n## Testing\r\n1. Confirm that a dependency on setting `currentDate` to todays date by default does not exist by pulling down the branch and seeing that nothing breaks. \r\n1. Force a `null` value for the `currentDate` prop on  `<DatePicker >` to ensure nothing breaks and no date is selected.\r\n\r\n## Screenshots <!-- if applicable -->\r\n\r\n![screen shot 2018-12-18 at 2 33 12 pm](https://user-images.githubusercontent.com/1922453/50126466-e54d9c80-02d1-11e9-8c7c-840ba3adea62.png)\r\n\r\n## Types of changes\r\n<!-- What types of changes does your code introduce?  -->\r\n<!-- Bug fix (non-breaking change which fixes an issue) -->\r\n<!-- New feature (non-breaking change which adds functionality) -->\r\n<!-- Breaking change (fix or feature that would cause existing functionality to not work as expected) -->\r\nNew feature: Allow null value of date selection to persist such that no date is selected on the calendar.\r\n\r\n## Checklist:\r\n- [x] My code is tested.\r\n- [x] My code follows the WordPress code style. <!-- Check code: `npm run lint`, Guidelines: https://make.wordpress.org/core/handbook/best-practices/coding-standards/javascript/ -->\r\n- [x] My code follows the accessibility standards. <!-- Guidelines: https://make.wordpress.org/core/handbook/best-practices/coding-standards/accessibility-coding-standards/ -->\r\n- [x] My code has proper inline documentation. <!-- Guidelines: https://make.wordpress.org/core/handbook/best-practices/inline-documentation-standards/javascript/ -->\r\n- [x] I've included developer documentation if appropriate. <!-- Handbook: https://wordpress.org/gutenberg/handbook/designers-developers/ -->\r\n","created_at":"2018-12-18T01:34:38Z","updated_at":"2018-12-18T01:34:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/WordPress/gutenberg/pulls/12963/commits","review_comments_url":"https://api.github.com/repos/WordPress/gutenberg/pulls/12963/comments","review_comment_url":"https://api.github.com/repos/WordPress/gutenberg/pulls/comments{/number}","comments_url":"https://api.github.com/repos/WordPress/gutenberg/issues/12963/comments","statuses_url":"https://api.github.com/repos/WordPress/gutenberg/statuses/cb3507bcf43a0e4c55e148a3ef089bfc3eee8f1a","head":{"label":"psealock:update/datepicker-allow-null-on-mount","ref":"update/datepicker-allow-null-on-mount","sha":"cb3507bcf43a0e4c55e148a3ef089bfc3eee8f1a","user":{"login":"psealock","id":1922453,"node_id":"MDQ6VXNlcjE5MjI0NTM=","avatar_url":"https://avatars2.githubusercontent.com/u/1922453?v=4","gravatar_id":"","url":"https://api.github.com/users/psealock","html_url":"https://github.com/psealock","followers_url":"https://api.github.com/users/psealock/followers","following_url":"https://api.github.com/users/psealock/following{/other_user}","gists_url":"https://api.github.com/users/psealock/gists{/gist_id}","starred_url":"https://api.github.com/users/psealock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/psealock/subscriptions","organizations_url":"https://api.github.com/users/psealock/orgs","repos_url":"https://api.github.com/users/psealock/repos","events_url":"https://api.github.com/users/psealock/events{/privacy}","received_events_url":"https://api.github.com/users/psealock/received_events","type":"User","site_admin":false},"repo":{"id":134338753,"node_id":"MDEwOlJlcG9zaXRvcnkxMzQzMzg3NTM=","name":"gutenberg","full_name":"psealock/gutenberg","private":false,"owner":{"login":"psealock","id":1922453,"node_id":"MDQ6VXNlcjE5MjI0NTM=","avatar_url":"https://avatars2.githubusercontent.com/u/1922453?v=4","gravatar_id":"","url":"https://api.github.com/users/psealock","html_url":"https://github.com/psealock","followers_url":"https://api.github.com/users/psealock/followers","following_url":"https://api.github.com/users/psealock/following{/other_user}","gists_url":"https://api.github.com/users/psealock/gists{/gist_id}","starred_url":"https://api.github.com/users/psealock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/psealock/subscriptions","organizations_url":"https://api.github.com/users/psealock/orgs","repos_url":"https://api.github.com/users/psealock/repos","events_url":"https://api.github.com/users/psealock/events{/privacy}","received_events_url":"https://api.github.com/users/psealock/received_events","type":"User","site_admin":false},"html_url":"https://github.com/psealock/gutenberg","description":"Printing since 1440. Development hub for the editor focus in core. Beta plugin is available from the official WordPress repository.","fork":true,"url":"https://api.github.com/repos/psealock/gutenberg","forks_url":"https://api.github.com/repos/psealock/gutenberg/forks","keys_url":"https://api.github.com/repos/psealock/gutenberg/keys{/key_id}","collaborators_url":"https://api.github.com/repos/psealock/gutenberg/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/psealock/gutenberg/teams","hooks_url":"https://api.github.com/repos/psealock/gutenberg/hooks","issue_events_url":"https://api.github.com/repos/psealock/gutenberg/issues/events{/number}","events_url":"https://api.github.com/repos/psealock/gutenberg/events","assignees_url":"https://api.github.com/repos/psealock/gutenberg/assignees{/user}","branches_url":"https://api.github.com/repos/psealock/gutenberg/branches{/branch}","tags_url":"https://api.github.com/repos/psealock/gutenberg/tags","blobs_url":"https://api.github.com/repos/psealock/gutenberg/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/psealock/gutenberg/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/psealock/gutenberg/git/refs{/sha}","trees_url":"https://api.github.com/repos/psealock/gutenberg/git/trees{/sha}","statuses_url":"https://api.github.com/repos/psealock/gutenberg/statuses/{sha}","languages_url":"https://api.github.com/repos/psealock/gutenberg/languages","stargazers_url":"https://api.github.com/repos/psealock/gutenberg/stargazers","contributors_url":"https://api.github.com/repos/psealock/gutenberg/contributors","subscribers_url":"https://api.github.com/repos/psealock/gutenberg/subscribers","subscription_url":"https://api.github.com/repos/psealock/gutenberg/subscription","commits_url":"https://api.github.com/repos/psealock/gutenberg/commits{/sha}","git_commits_url":"https://api.github.com/repos/psealock/gutenberg/git/commits{/sha}","comments_url":"https://api.github.com/repos/psealock/gutenberg/comments{/number}","issue_comment_url":"https://api.github.com/repos/psealock/gutenberg/issues/comments{/number}","contents_url":"https://api.github.com/repos/psealock/gutenberg/contents/{+path}","compare_url":"https://api.github.com/repos/psealock/gutenberg/compare/{base}...{head}","merges_url":"https://api.github.com/repos/psealock/gutenberg/merges","archive_url":"https://api.github.com/repos/psealock/gutenberg/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/psealock/gutenberg/downloads","issues_url":"https://api.github.com/repos/psealock/gutenberg/issues{/number}","pulls_url":"https://api.github.com/repos/psealock/gutenberg/pulls{/number}","milestones_url":"https://api.github.com/repos/psealock/gutenberg/milestones{/number}","notifications_url":"https://api.github.com/repos/psealock/gutenberg/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/psealock/gutenberg/labels{/name}","releases_url":"https://api.github.com/repos/psealock/gutenberg/releases{/id}","deployments_url":"https://api.github.com/repos/psealock/gutenberg/deployments","created_at":"2018-05-22T00:18:51Z","updated_at":"2018-05-22T00:18:55Z","pushed_at":"2018-12-18T01:28:06Z","git_url":"git://github.com/psealock/gutenberg.git","ssh_url":"git@github.com:psealock/gutenberg.git","clone_url":"https://github.com/psealock/gutenberg.git","svn_url":"https://github.com/psealock/gutenberg","homepage":"https://wordpress.org/plugins/gutenberg/ ","size":30960,"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":0,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"WordPress:master","ref":"master","sha":"ddac4f3cf8fd311169c7e125411343a437bdbb5a","user":{"login":"WordPress","id":276006,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI3NjAwNg==","avatar_url":"https://avatars0.githubusercontent.com/u/276006?v=4","gravatar_id":"","url":"https://api.github.com/users/WordPress","html_url":"https://github.com/WordPress","followers_url":"https://api.github.com/users/WordPress/followers","following_url":"https://api.github.com/users/WordPress/following{/other_user}","gists_url":"https://api.github.com/users/WordPress/gists{/gist_id}","starred_url":"https://api.github.com/users/WordPress/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WordPress/subscriptions","organizations_url":"https://api.github.com/users/WordPress/orgs","repos_url":"https://api.github.com/users/WordPress/repos","events_url":"https://api.github.com/users/WordPress/events{/privacy}","received_events_url":"https://api.github.com/users/WordPress/received_events","type":"Organization","site_admin":false},"repo":{"id":80862584,"node_id":"MDEwOlJlcG9zaXRvcnk4MDg2MjU4NA==","name":"gutenberg","full_name":"WordPress/gutenberg","private":false,"owner":{"login":"WordPress","id":276006,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI3NjAwNg==","avatar_url":"https://avatars0.githubusercontent.com/u/276006?v=4","gravatar_id":"","url":"https://api.github.com/users/WordPress","html_url":"https://github.com/WordPress","followers_url":"https://api.github.com/users/WordPress/followers","following_url":"https://api.github.com/users/WordPress/following{/other_user}","gists_url":"https://api.github.com/users/WordPress/gists{/gist_id}","starred_url":"https://api.github.com/users/WordPress/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WordPress/subscriptions","organizations_url":"https://api.github.com/users/WordPress/orgs","repos_url":"https://api.github.com/users/WordPress/repos","events_url":"https://api.github.com/users/WordPress/events{/privacy}","received_events_url":"https://api.github.com/users/WordPress/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/WordPress/gutenberg","description":"The Block Editor project for WordPress and beyond. Plugin is available from the official repository.","fork":false,"url":"https://api.github.com/repos/WordPress/gutenberg","forks_url":"https://api.github.com/repos/WordPress/gutenberg/forks","keys_url":"https://api.github.com/repos/WordPress/gutenberg/keys{/key_id}","collaborators_url":"https://api.github.com/repos/WordPress/gutenberg/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/WordPress/gutenberg/teams","hooks_url":"https://api.github.com/repos/WordPress/gutenberg/hooks","issue_events_url":"https://api.github.com/repos/WordPress/gutenberg/issues/events{/number}","events_url":"https://api.github.com/repos/WordPress/gutenberg/events","assignees_url":"https://api.github.com/repos/WordPress/gutenberg/assignees{/user}","branches_url":"https://api.github.com/repos/WordPress/gutenberg/branches{/branch}","tags_url":"https://api.github.com/repos/WordPress/gutenberg/tags","blobs_url":"https://api.github.com/repos/WordPress/gutenberg/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/WordPress/gutenberg/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/WordPress/gutenberg/git/refs{/sha}","trees_url":"https://api.github.com/repos/WordPress/gutenberg/git/trees{/sha}","statuses_url":"https://api.github.com/repos/WordPress/gutenberg/statuses/{sha}","languages_url":"https://api.github.com/repos/WordPress/gutenberg/languages","stargazers_url":"https://api.github.com/repos/WordPress/gutenberg/stargazers","contributors_url":"https://api.github.com/repos/WordPress/gutenberg/contributors","subscribers_url":"https://api.github.com/repos/WordPress/gutenberg/subscribers","subscription_url":"https://api.github.com/repos/WordPress/gutenberg/subscription","commits_url":"https://api.github.com/repos/WordPress/gutenberg/commits{/sha}","git_commits_url":"https://api.github.com/repos/WordPress/gutenberg/git/commits{/sha}","comments_url":"https://api.github.com/repos/WordPress/gutenberg/comments{/number}","issue_comment_url":"https://api.github.com/repos/WordPress/gutenberg/issues/comments{/number}","contents_url":"https://api.github.com/repos/WordPress/gutenberg/contents/{+path}","compare_url":"https://api.github.com/repos/WordPress/gutenberg/compare/{base}...{head}","merges_url":"https://api.github.com/repos/WordPress/gutenberg/merges","archive_url":"https://api.github.com/repos/WordPress/gutenberg/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/WordPress/gutenberg/downloads","issues_url":"https://api.github.com/repos/WordPress/gutenberg/issues{/number}","pulls_url":"https://api.github.com/repos/WordPress/gutenberg/pulls{/number}","milestones_url":"https://api.github.com/repos/WordPress/gutenberg/milestones{/number}","notifications_url":"https://api.github.com/repos/WordPress/gutenberg/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/WordPress/gutenberg/labels{/name}","releases_url":"https://api.github.com/repos/WordPress/gutenberg/releases{/id}","deployments_url":"https://api.github.com/repos/WordPress/gutenberg/deployments","created_at":"2017-02-03T19:34:19Z","updated_at":"2018-12-18T01:03:30Z","pushed_at":"2018-12-18T01:17:17Z","git_url":"git://github.com/WordPress/gutenberg.git","ssh_url":"git@github.com:WordPress/gutenberg.git","clone_url":"https://github.com/WordPress/gutenberg.git","svn_url":"https://github.com/WordPress/gutenberg","homepage":"https://wordpress.org/gutenberg/","size":35761,"stargazers_count":3933,"watchers_count":3933,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1149,"mirror_url":null,"archived":false,"open_issues_count":1801,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":1149,"open_issues":1801,"watchers":3933,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/WordPress/gutenberg/pulls/12963"},"html":{"href":"https://github.com/WordPress/gutenberg/pull/12963"},"issue":{"href":"https://api.github.com/repos/WordPress/gutenberg/issues/12963"},"comments":{"href":"https://api.github.com/repos/WordPress/gutenberg/issues/12963/comments"},"review_comments":{"href":"https://api.github.com/repos/WordPress/gutenberg/pulls/12963/comments"},"review_comment":{"href":"https://api.github.com/repos/WordPress/gutenberg/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/WordPress/gutenberg/pulls/12963/commits"},"statuses":{"href":"https://api.github.com/repos/WordPress/gutenberg/statuses/cb3507bcf43a0e4c55e148a3ef089bfc3eee8f1a"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":8,"deletions":2,"changed_files":2}}
{"actor":{"display_login":"psealock"}}