{"action":"created","comment":{"url":"https://api.github.com/repos/kekeh/mydatepicker/pulls/comments/214427965","pull_request_review_id":151490679,"id":214427965,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxNDQyNzk2NQ==","diff_hunk":"@@ -264,8 +264,8 @@ export class MyDatePicker implements OnChanges, ControlValueAccessor {\n         for (let i = year; i <= 20 + year; i += 5) {\n             let row: Array<IMyCalendarYear> = [];\n             for (let j = i; j < i + 5; j++) {\n-                let disabled: boolean = this.utilService.isMonthDisabledByDisableUntil({year: j, month: this.visibleMonth.monthNbr, day: this.daysInMonth(this.visibleMonth.monthNbr, j)}, this.opts.disableUntil)\n-                 || this.utilService.isMonthDisabledByDisableSince({year: j, month: this.visibleMonth.monthNbr, day: 1}, this.opts.disableSince);\n+                let disabled: boolean = this.utilService.isMonthDisabledByDisableUntil({year: j, month: 12, day: this.daysInMonth(12, j)}, this.opts.disableUntil)","path":"src/my-date-picker/my-date-picker.component.ts","position":6,"original_position":6,"commit_id":"27398ea566b791879d14021c99c3512116d79350","original_commit_id":"8a663ebbf8822ba10bd0cfc9ec365dde44dcd49e","user":{"login":"cls-yzhang","id":42817903,"node_id":"MDQ6VXNlcjQyODE3OTAz","avatar_url":"https://avatars3.githubusercontent.com/u/42817903?v=4","gravatar_id":"","url":"https://api.github.com/users/cls-yzhang","html_url":"https://github.com/cls-yzhang","followers_url":"https://api.github.com/users/cls-yzhang/followers","following_url":"https://api.github.com/users/cls-yzhang/following{/other_user}","gists_url":"https://api.github.com/users/cls-yzhang/gists{/gist_id}","starred_url":"https://api.github.com/users/cls-yzhang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cls-yzhang/subscriptions","organizations_url":"https://api.github.com/users/cls-yzhang/orgs","repos_url":"https://api.github.com/users/cls-yzhang/repos","events_url":"https://api.github.com/users/cls-yzhang/events{/privacy}","received_events_url":"https://api.github.com/users/cls-yzhang/received_events","type":"User","site_admin":false},"body":"is it good to just use `31` instead of `this.daysInMonth(12, j)`","created_at":"2018-08-31T17:44:34Z","updated_at":"2018-08-31T17:44:34Z","html_url":"https://github.com/kekeh/mydatepicker/pull/389#discussion_r214427965","pull_request_url":"https://api.github.com/repos/kekeh/mydatepicker/pulls/389","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/kekeh/mydatepicker/pulls/comments/214427965"},"html":{"href":"https://github.com/kekeh/mydatepicker/pull/389#discussion_r214427965"},"pull_request":{"href":"https://api.github.com/repos/kekeh/mydatepicker/pulls/389"}}},"pull_request":{"url":"https://api.github.com/repos/kekeh/mydatepicker/pulls/389","id":132682293,"node_id":"MDExOlB1bGxSZXF1ZXN0MTMyNjgyMjkz","html_url":"https://github.com/kekeh/mydatepicker/pull/389","diff_url":"https://github.com/kekeh/mydatepicker/pull/389.diff","patch_url":"https://github.com/kekeh/mydatepicker/pull/389.patch","issue_url":"https://api.github.com/repos/kekeh/mydatepicker/issues/389","number":389,"state":"open","locked":false,"title":"Make year enabled if at least 1 day is enabled in this year","user":{"login":"kievsash","id":15340874,"node_id":"MDQ6VXNlcjE1MzQwODc0","avatar_url":"https://avatars1.githubusercontent.com/u/15340874?v=4","gravatar_id":"","url":"https://api.github.com/users/kievsash","html_url":"https://github.com/kievsash","followers_url":"https://api.github.com/users/kievsash/followers","following_url":"https://api.github.com/users/kievsash/following{/other_user}","gists_url":"https://api.github.com/users/kievsash/gists{/gist_id}","starred_url":"https://api.github.com/users/kievsash/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kievsash/subscriptions","organizations_url":"https://api.github.com/users/kievsash/orgs","repos_url":"https://api.github.com/users/kievsash/repos","events_url":"https://api.github.com/users/kievsash/events{/privacy}","received_events_url":"https://api.github.com/users/kievsash/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-07-27T07:28:31Z","updated_at":"2018-08-31T17:44:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"022b16647e727e94faecf21cabf53fe7424493ff","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/kekeh/mydatepicker/pulls/389/commits","review_comments_url":"https://api.github.com/repos/kekeh/mydatepicker/pulls/389/comments","review_comment_url":"https://api.github.com/repos/kekeh/mydatepicker/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kekeh/mydatepicker/issues/389/comments","statuses_url":"https://api.github.com/repos/kekeh/mydatepicker/statuses/27398ea566b791879d14021c99c3512116d79350","head":{"label":"kievsash:master","ref":"master","sha":"27398ea566b791879d14021c99c3512116d79350","user":{"login":"kievsash","id":15340874,"node_id":"MDQ6VXNlcjE1MzQwODc0","avatar_url":"https://avatars1.githubusercontent.com/u/15340874?v=4","gravatar_id":"","url":"https://api.github.com/users/kievsash","html_url":"https://github.com/kievsash","followers_url":"https://api.github.com/users/kievsash/followers","following_url":"https://api.github.com/users/kievsash/following{/other_user}","gists_url":"https://api.github.com/users/kievsash/gists{/gist_id}","starred_url":"https://api.github.com/users/kievsash/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kievsash/subscriptions","organizations_url":"https://api.github.com/users/kievsash/orgs","repos_url":"https://api.github.com/users/kievsash/repos","events_url":"https://api.github.com/users/kievsash/events{/privacy}","received_events_url":"https://api.github.com/users/kievsash/received_events","type":"User","site_admin":false},"repo":{"id":98505841,"node_id":"MDEwOlJlcG9zaXRvcnk5ODUwNTg0MQ==","name":"mydatepicker","full_name":"kievsash/mydatepicker","owner":{"login":"kievsash","id":15340874,"node_id":"MDQ6VXNlcjE1MzQwODc0","avatar_url":"https://avatars1.githubusercontent.com/u/15340874?v=4","gravatar_id":"","url":"https://api.github.com/users/kievsash","html_url":"https://github.com/kievsash","followers_url":"https://api.github.com/users/kievsash/followers","following_url":"https://api.github.com/users/kievsash/following{/other_user}","gists_url":"https://api.github.com/users/kievsash/gists{/gist_id}","starred_url":"https://api.github.com/users/kievsash/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kievsash/subscriptions","organizations_url":"https://api.github.com/users/kievsash/orgs","repos_url":"https://api.github.com/users/kievsash/repos","events_url":"https://api.github.com/users/kievsash/events{/privacy}","received_events_url":"https://api.github.com/users/kievsash/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kievsash/mydatepicker","description":"Angular2 date picker","fork":true,"url":"https://api.github.com/repos/kievsash/mydatepicker","forks_url":"https://api.github.com/repos/kievsash/mydatepicker/forks","keys_url":"https://api.github.com/repos/kievsash/mydatepicker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kievsash/mydatepicker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kievsash/mydatepicker/teams","hooks_url":"https://api.github.com/repos/kievsash/mydatepicker/hooks","issue_events_url":"https://api.github.com/repos/kievsash/mydatepicker/issues/events{/number}","events_url":"https://api.github.com/repos/kievsash/mydatepicker/events","assignees_url":"https://api.github.com/repos/kievsash/mydatepicker/assignees{/user}","branches_url":"https://api.github.com/repos/kievsash/mydatepicker/branches{/branch}","tags_url":"https://api.github.com/repos/kievsash/mydatepicker/tags","blobs_url":"https://api.github.com/repos/kievsash/mydatepicker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kievsash/mydatepicker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kievsash/mydatepicker/git/refs{/sha}","trees_url":"https://api.github.com/repos/kievsash/mydatepicker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kievsash/mydatepicker/statuses/{sha}","languages_url":"https://api.github.com/repos/kievsash/mydatepicker/languages","stargazers_url":"https://api.github.com/repos/kievsash/mydatepicker/stargazers","contributors_url":"https://api.github.com/repos/kievsash/mydatepicker/contributors","subscribers_url":"https://api.github.com/repos/kievsash/mydatepicker/subscribers","subscription_url":"https://api.github.com/repos/kievsash/mydatepicker/subscription","commits_url":"https://api.github.com/repos/kievsash/mydatepicker/commits{/sha}","git_commits_url":"https://api.github.com/repos/kievsash/mydatepicker/git/commits{/sha}","comments_url":"https://api.github.com/repos/kievsash/mydatepicker/comments{/number}","issue_comment_url":"https://api.github.com/repos/kievsash/mydatepicker/issues/comments{/number}","contents_url":"https://api.github.com/repos/kievsash/mydatepicker/contents/{+path}","compare_url":"https://api.github.com/repos/kievsash/mydatepicker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kievsash/mydatepicker/merges","archive_url":"https://api.github.com/repos/kievsash/mydatepicker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kievsash/mydatepicker/downloads","issues_url":"https://api.github.com/repos/kievsash/mydatepicker/issues{/number}","pulls_url":"https://api.github.com/repos/kievsash/mydatepicker/pulls{/number}","milestones_url":"https://api.github.com/repos/kievsash/mydatepicker/milestones{/number}","notifications_url":"https://api.github.com/repos/kievsash/mydatepicker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kievsash/mydatepicker/labels{/name}","releases_url":"https://api.github.com/repos/kievsash/mydatepicker/releases{/id}","deployments_url":"https://api.github.com/repos/kievsash/mydatepicker/deployments","created_at":"2017-07-27T07:17:38Z","updated_at":"2017-07-27T07:17:40Z","pushed_at":"2017-07-31T06:13:07Z","git_url":"git://github.com/kievsash/mydatepicker.git","ssh_url":"git@github.com:kievsash/mydatepicker.git","clone_url":"https://github.com/kievsash/mydatepicker.git","svn_url":"https://github.com/kievsash/mydatepicker","homepage":"http://kekeh.github.io/mydatepicker","size":8037,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","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":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"kekeh:master","ref":"master","sha":"954de27765c32d51b510efff7ba0e72389f822c1","user":{"login":"kekeh","id":11028839,"node_id":"MDQ6VXNlcjExMDI4ODM5","avatar_url":"https://avatars0.githubusercontent.com/u/11028839?v=4","gravatar_id":"","url":"https://api.github.com/users/kekeh","html_url":"https://github.com/kekeh","followers_url":"https://api.github.com/users/kekeh/followers","following_url":"https://api.github.com/users/kekeh/following{/other_user}","gists_url":"https://api.github.com/users/kekeh/gists{/gist_id}","starred_url":"https://api.github.com/users/kekeh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kekeh/subscriptions","organizations_url":"https://api.github.com/users/kekeh/orgs","repos_url":"https://api.github.com/users/kekeh/repos","events_url":"https://api.github.com/users/kekeh/events{/privacy}","received_events_url":"https://api.github.com/users/kekeh/received_events","type":"User","site_admin":false},"repo":{"id":47209412,"node_id":"MDEwOlJlcG9zaXRvcnk0NzIwOTQxMg==","name":"mydatepicker","full_name":"kekeh/mydatepicker","owner":{"login":"kekeh","id":11028839,"node_id":"MDQ6VXNlcjExMDI4ODM5","avatar_url":"https://avatars0.githubusercontent.com/u/11028839?v=4","gravatar_id":"","url":"https://api.github.com/users/kekeh","html_url":"https://github.com/kekeh","followers_url":"https://api.github.com/users/kekeh/followers","following_url":"https://api.github.com/users/kekeh/following{/other_user}","gists_url":"https://api.github.com/users/kekeh/gists{/gist_id}","starred_url":"https://api.github.com/users/kekeh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kekeh/subscriptions","organizations_url":"https://api.github.com/users/kekeh/orgs","repos_url":"https://api.github.com/users/kekeh/repos","events_url":"https://api.github.com/users/kekeh/events{/privacy}","received_events_url":"https://api.github.com/users/kekeh/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kekeh/mydatepicker","description":"Angular 2+ date picker","fork":false,"url":"https://api.github.com/repos/kekeh/mydatepicker","forks_url":"https://api.github.com/repos/kekeh/mydatepicker/forks","keys_url":"https://api.github.com/repos/kekeh/mydatepicker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kekeh/mydatepicker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kekeh/mydatepicker/teams","hooks_url":"https://api.github.com/repos/kekeh/mydatepicker/hooks","issue_events_url":"https://api.github.com/repos/kekeh/mydatepicker/issues/events{/number}","events_url":"https://api.github.com/repos/kekeh/mydatepicker/events","assignees_url":"https://api.github.com/repos/kekeh/mydatepicker/assignees{/user}","branches_url":"https://api.github.com/repos/kekeh/mydatepicker/branches{/branch}","tags_url":"https://api.github.com/repos/kekeh/mydatepicker/tags","blobs_url":"https://api.github.com/repos/kekeh/mydatepicker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kekeh/mydatepicker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kekeh/mydatepicker/git/refs{/sha}","trees_url":"https://api.github.com/repos/kekeh/mydatepicker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kekeh/mydatepicker/statuses/{sha}","languages_url":"https://api.github.com/repos/kekeh/mydatepicker/languages","stargazers_url":"https://api.github.com/repos/kekeh/mydatepicker/stargazers","contributors_url":"https://api.github.com/repos/kekeh/mydatepicker/contributors","subscribers_url":"https://api.github.com/repos/kekeh/mydatepicker/subscribers","subscription_url":"https://api.github.com/repos/kekeh/mydatepicker/subscription","commits_url":"https://api.github.com/repos/kekeh/mydatepicker/commits{/sha}","git_commits_url":"https://api.github.com/repos/kekeh/mydatepicker/git/commits{/sha}","comments_url":"https://api.github.com/repos/kekeh/mydatepicker/comments{/number}","issue_comment_url":"https://api.github.com/repos/kekeh/mydatepicker/issues/comments{/number}","contents_url":"https://api.github.com/repos/kekeh/mydatepicker/contents/{+path}","compare_url":"https://api.github.com/repos/kekeh/mydatepicker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kekeh/mydatepicker/merges","archive_url":"https://api.github.com/repos/kekeh/mydatepicker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kekeh/mydatepicker/downloads","issues_url":"https://api.github.com/repos/kekeh/mydatepicker/issues{/number}","pulls_url":"https://api.github.com/repos/kekeh/mydatepicker/pulls{/number}","milestones_url":"https://api.github.com/repos/kekeh/mydatepicker/milestones{/number}","notifications_url":"https://api.github.com/repos/kekeh/mydatepicker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kekeh/mydatepicker/labels{/name}","releases_url":"https://api.github.com/repos/kekeh/mydatepicker/releases{/id}","deployments_url":"https://api.github.com/repos/kekeh/mydatepicker/deployments","created_at":"2015-12-01T18:32:47Z","updated_at":"2018-08-31T16:57:11Z","pushed_at":"2018-08-16T14:19:40Z","git_url":"git://github.com/kekeh/mydatepicker.git","ssh_url":"git@github.com:kekeh/mydatepicker.git","clone_url":"https://github.com/kekeh/mydatepicker.git","svn_url":"https://github.com/kekeh/mydatepicker","homepage":"http://kekeh.github.io/mydatepicker","size":9639,"stargazers_count":537,"watchers_count":537,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":314,"mirror_url":null,"archived":false,"open_issues_count":80,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":314,"open_issues":80,"watchers":537,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kekeh/mydatepicker/pulls/389"},"html":{"href":"https://github.com/kekeh/mydatepicker/pull/389"},"issue":{"href":"https://api.github.com/repos/kekeh/mydatepicker/issues/389"},"comments":{"href":"https://api.github.com/repos/kekeh/mydatepicker/issues/389/comments"},"review_comments":{"href":"https://api.github.com/repos/kekeh/mydatepicker/pulls/389/comments"},"review_comment":{"href":"https://api.github.com/repos/kekeh/mydatepicker/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kekeh/mydatepicker/pulls/389/commits"},"statuses":{"href":"https://api.github.com/repos/kekeh/mydatepicker/statuses/27398ea566b791879d14021c99c3512116d79350"}},"author_association":"NONE"}}
{"actor":{"display_login":"cls-yzhang"}}