{"action":"created","comment":{"url":"https://api.github.com/repos/iamkun/dayjs/pulls/comments/207702326","pull_request_review_id":143376018,"id":207702326,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwNzcwMjMyNg==","diff_hunk":"@@ -0,0 +1,11 @@\n+export default (o, c) => {\n+  const proto = c.prototype\n+  proto.isBetween = function (a, b) {\n+    if (!(a instanceof c && b instanceof c)) {\n+      throw new Error('isBetween arguments must be dayjs-like!')\n+    }\n+\n+    return this.isAfter(a) && this.isBefore(b)\n+  }","path":"src/plugin/isBetween/index.js","position":9,"original_position":9,"commit_id":"d1e4981a1b7bd855f26a793e1100e6e86a05f513","original_commit_id":"d1e4981a1b7bd855f26a793e1100e6e86a05f513","user":{"login":"lamartire","id":13414205,"node_id":"MDQ6VXNlcjEzNDE0MjA1","avatar_url":"https://avatars0.githubusercontent.com/u/13414205?v=4","gravatar_id":"","url":"https://api.github.com/users/lamartire","html_url":"https://github.com/lamartire","followers_url":"https://api.github.com/users/lamartire/followers","following_url":"https://api.github.com/users/lamartire/following{/other_user}","gists_url":"https://api.github.com/users/lamartire/gists{/gist_id}","starred_url":"https://api.github.com/users/lamartire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lamartire/subscriptions","organizations_url":"https://api.github.com/users/lamartire/orgs","repos_url":"https://api.github.com/users/lamartire/repos","events_url":"https://api.github.com/users/lamartire/events{/privacy}","received_events_url":"https://api.github.com/users/lamartire/received_events","type":"User","site_admin":false},"body":"What you mean? It's just re-using exist methods. Tell me more 🙂","created_at":"2018-08-04T07:32:41Z","updated_at":"2018-08-04T07:32:41Z","html_url":"https://github.com/iamkun/dayjs/pull/296#discussion_r207702326","pull_request_url":"https://api.github.com/repos/iamkun/dayjs/pulls/296","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/iamkun/dayjs/pulls/comments/207702326"},"html":{"href":"https://github.com/iamkun/dayjs/pull/296#discussion_r207702326"},"pull_request":{"href":"https://api.github.com/repos/iamkun/dayjs/pulls/296"}},"in_reply_to_id":207702275},"pull_request":{"url":"https://api.github.com/repos/iamkun/dayjs/pulls/296","id":206180731,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA2MTgwNzMx","html_url":"https://github.com/iamkun/dayjs/pull/296","diff_url":"https://github.com/iamkun/dayjs/pull/296.diff","patch_url":"https://github.com/iamkun/dayjs/pull/296.patch","issue_url":"https://api.github.com/repos/iamkun/dayjs/issues/296","number":296,"state":"open","locked":false,"title":"Implements isBetween plugin","user":{"login":"lamartire","id":13414205,"node_id":"MDQ6VXNlcjEzNDE0MjA1","avatar_url":"https://avatars0.githubusercontent.com/u/13414205?v=4","gravatar_id":"","url":"https://api.github.com/users/lamartire","html_url":"https://github.com/lamartire","followers_url":"https://api.github.com/users/lamartire/followers","following_url":"https://api.github.com/users/lamartire/following{/other_user}","gists_url":"https://api.github.com/users/lamartire/gists{/gist_id}","starred_url":"https://api.github.com/users/lamartire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lamartire/subscriptions","organizations_url":"https://api.github.com/users/lamartire/orgs","repos_url":"https://api.github.com/users/lamartire/repos","events_url":"https://api.github.com/users/lamartire/events{/privacy}","received_events_url":"https://api.github.com/users/lamartire/received_events","type":"User","site_admin":false},"body":"Sets testURL in jest config for resolve issue with failing tests\r\n#287 ","created_at":"2018-08-04T07:22:50Z","updated_at":"2018-08-04T07:32:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f41bdff00833c85c45e187d25acad2bf66bff7c8","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/iamkun/dayjs/pulls/296/commits","review_comments_url":"https://api.github.com/repos/iamkun/dayjs/pulls/296/comments","review_comment_url":"https://api.github.com/repos/iamkun/dayjs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/iamkun/dayjs/issues/296/comments","statuses_url":"https://api.github.com/repos/iamkun/dayjs/statuses/d1e4981a1b7bd855f26a793e1100e6e86a05f513","head":{"label":"lamartire:master","ref":"master","sha":"d1e4981a1b7bd855f26a793e1100e6e86a05f513","user":{"login":"lamartire","id":13414205,"node_id":"MDQ6VXNlcjEzNDE0MjA1","avatar_url":"https://avatars0.githubusercontent.com/u/13414205?v=4","gravatar_id":"","url":"https://api.github.com/users/lamartire","html_url":"https://github.com/lamartire","followers_url":"https://api.github.com/users/lamartire/followers","following_url":"https://api.github.com/users/lamartire/following{/other_user}","gists_url":"https://api.github.com/users/lamartire/gists{/gist_id}","starred_url":"https://api.github.com/users/lamartire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lamartire/subscriptions","organizations_url":"https://api.github.com/users/lamartire/orgs","repos_url":"https://api.github.com/users/lamartire/repos","events_url":"https://api.github.com/users/lamartire/events{/privacy}","received_events_url":"https://api.github.com/users/lamartire/received_events","type":"User","site_admin":false},"repo":{"id":138606365,"node_id":"MDEwOlJlcG9zaXRvcnkxMzg2MDYzNjU=","name":"dayjs","full_name":"lamartire/dayjs","owner":{"login":"lamartire","id":13414205,"node_id":"MDQ6VXNlcjEzNDE0MjA1","avatar_url":"https://avatars0.githubusercontent.com/u/13414205?v=4","gravatar_id":"","url":"https://api.github.com/users/lamartire","html_url":"https://github.com/lamartire","followers_url":"https://api.github.com/users/lamartire/followers","following_url":"https://api.github.com/users/lamartire/following{/other_user}","gists_url":"https://api.github.com/users/lamartire/gists{/gist_id}","starred_url":"https://api.github.com/users/lamartire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lamartire/subscriptions","organizations_url":"https://api.github.com/users/lamartire/orgs","repos_url":"https://api.github.com/users/lamartire/repos","events_url":"https://api.github.com/users/lamartire/events{/privacy}","received_events_url":"https://api.github.com/users/lamartire/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lamartire/dayjs","description":"⏰ Day.js 2KB immutable date library alternative to Moment.js with the same modern API","fork":true,"url":"https://api.github.com/repos/lamartire/dayjs","forks_url":"https://api.github.com/repos/lamartire/dayjs/forks","keys_url":"https://api.github.com/repos/lamartire/dayjs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lamartire/dayjs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lamartire/dayjs/teams","hooks_url":"https://api.github.com/repos/lamartire/dayjs/hooks","issue_events_url":"https://api.github.com/repos/lamartire/dayjs/issues/events{/number}","events_url":"https://api.github.com/repos/lamartire/dayjs/events","assignees_url":"https://api.github.com/repos/lamartire/dayjs/assignees{/user}","branches_url":"https://api.github.com/repos/lamartire/dayjs/branches{/branch}","tags_url":"https://api.github.com/repos/lamartire/dayjs/tags","blobs_url":"https://api.github.com/repos/lamartire/dayjs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lamartire/dayjs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lamartire/dayjs/git/refs{/sha}","trees_url":"https://api.github.com/repos/lamartire/dayjs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lamartire/dayjs/statuses/{sha}","languages_url":"https://api.github.com/repos/lamartire/dayjs/languages","stargazers_url":"https://api.github.com/repos/lamartire/dayjs/stargazers","contributors_url":"https://api.github.com/repos/lamartire/dayjs/contributors","subscribers_url":"https://api.github.com/repos/lamartire/dayjs/subscribers","subscription_url":"https://api.github.com/repos/lamartire/dayjs/subscription","commits_url":"https://api.github.com/repos/lamartire/dayjs/commits{/sha}","git_commits_url":"https://api.github.com/repos/lamartire/dayjs/git/commits{/sha}","comments_url":"https://api.github.com/repos/lamartire/dayjs/comments{/number}","issue_comment_url":"https://api.github.com/repos/lamartire/dayjs/issues/comments{/number}","contents_url":"https://api.github.com/repos/lamartire/dayjs/contents/{+path}","compare_url":"https://api.github.com/repos/lamartire/dayjs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lamartire/dayjs/merges","archive_url":"https://api.github.com/repos/lamartire/dayjs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lamartire/dayjs/downloads","issues_url":"https://api.github.com/repos/lamartire/dayjs/issues{/number}","pulls_url":"https://api.github.com/repos/lamartire/dayjs/pulls{/number}","milestones_url":"https://api.github.com/repos/lamartire/dayjs/milestones{/number}","notifications_url":"https://api.github.com/repos/lamartire/dayjs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lamartire/dayjs/labels{/name}","releases_url":"https://api.github.com/repos/lamartire/dayjs/releases{/id}","deployments_url":"https://api.github.com/repos/lamartire/dayjs/deployments","created_at":"2018-06-25T14:29:35Z","updated_at":"2018-08-04T07:21:34Z","pushed_at":"2018-08-04T07:21:30Z","git_url":"git://github.com/lamartire/dayjs.git","ssh_url":"git@github.com:lamartire/dayjs.git","clone_url":"https://github.com/lamartire/dayjs.git","svn_url":"https://github.com/lamartire/dayjs","homepage":"https://github.com/iamkun/dayjs","size":3477,"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":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"iamkun:master","ref":"master","sha":"e05de609e83f4adf3d275e1634c04a08efa0a788","user":{"login":"iamkun","id":17680888,"node_id":"MDQ6VXNlcjE3NjgwODg4","avatar_url":"https://avatars0.githubusercontent.com/u/17680888?v=4","gravatar_id":"","url":"https://api.github.com/users/iamkun","html_url":"https://github.com/iamkun","followers_url":"https://api.github.com/users/iamkun/followers","following_url":"https://api.github.com/users/iamkun/following{/other_user}","gists_url":"https://api.github.com/users/iamkun/gists{/gist_id}","starred_url":"https://api.github.com/users/iamkun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iamkun/subscriptions","organizations_url":"https://api.github.com/users/iamkun/orgs","repos_url":"https://api.github.com/users/iamkun/repos","events_url":"https://api.github.com/users/iamkun/events{/privacy}","received_events_url":"https://api.github.com/users/iamkun/received_events","type":"User","site_admin":false},"repo":{"id":128907699,"node_id":"MDEwOlJlcG9zaXRvcnkxMjg5MDc2OTk=","name":"dayjs","full_name":"iamkun/dayjs","owner":{"login":"iamkun","id":17680888,"node_id":"MDQ6VXNlcjE3NjgwODg4","avatar_url":"https://avatars0.githubusercontent.com/u/17680888?v=4","gravatar_id":"","url":"https://api.github.com/users/iamkun","html_url":"https://github.com/iamkun","followers_url":"https://api.github.com/users/iamkun/followers","following_url":"https://api.github.com/users/iamkun/following{/other_user}","gists_url":"https://api.github.com/users/iamkun/gists{/gist_id}","starred_url":"https://api.github.com/users/iamkun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iamkun/subscriptions","organizations_url":"https://api.github.com/users/iamkun/orgs","repos_url":"https://api.github.com/users/iamkun/repos","events_url":"https://api.github.com/users/iamkun/events{/privacy}","received_events_url":"https://api.github.com/users/iamkun/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/iamkun/dayjs","description":"⏰ Day.js 2KB immutable date library alternative to Moment.js with the same modern API","fork":false,"url":"https://api.github.com/repos/iamkun/dayjs","forks_url":"https://api.github.com/repos/iamkun/dayjs/forks","keys_url":"https://api.github.com/repos/iamkun/dayjs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/iamkun/dayjs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/iamkun/dayjs/teams","hooks_url":"https://api.github.com/repos/iamkun/dayjs/hooks","issue_events_url":"https://api.github.com/repos/iamkun/dayjs/issues/events{/number}","events_url":"https://api.github.com/repos/iamkun/dayjs/events","assignees_url":"https://api.github.com/repos/iamkun/dayjs/assignees{/user}","branches_url":"https://api.github.com/repos/iamkun/dayjs/branches{/branch}","tags_url":"https://api.github.com/repos/iamkun/dayjs/tags","blobs_url":"https://api.github.com/repos/iamkun/dayjs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/iamkun/dayjs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/iamkun/dayjs/git/refs{/sha}","trees_url":"https://api.github.com/repos/iamkun/dayjs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/iamkun/dayjs/statuses/{sha}","languages_url":"https://api.github.com/repos/iamkun/dayjs/languages","stargazers_url":"https://api.github.com/repos/iamkun/dayjs/stargazers","contributors_url":"https://api.github.com/repos/iamkun/dayjs/contributors","subscribers_url":"https://api.github.com/repos/iamkun/dayjs/subscribers","subscription_url":"https://api.github.com/repos/iamkun/dayjs/subscription","commits_url":"https://api.github.com/repos/iamkun/dayjs/commits{/sha}","git_commits_url":"https://api.github.com/repos/iamkun/dayjs/git/commits{/sha}","comments_url":"https://api.github.com/repos/iamkun/dayjs/comments{/number}","issue_comment_url":"https://api.github.com/repos/iamkun/dayjs/issues/comments{/number}","contents_url":"https://api.github.com/repos/iamkun/dayjs/contents/{+path}","compare_url":"https://api.github.com/repos/iamkun/dayjs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/iamkun/dayjs/merges","archive_url":"https://api.github.com/repos/iamkun/dayjs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/iamkun/dayjs/downloads","issues_url":"https://api.github.com/repos/iamkun/dayjs/issues{/number}","pulls_url":"https://api.github.com/repos/iamkun/dayjs/pulls{/number}","milestones_url":"https://api.github.com/repos/iamkun/dayjs/milestones{/number}","notifications_url":"https://api.github.com/repos/iamkun/dayjs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/iamkun/dayjs/labels{/name}","releases_url":"https://api.github.com/repos/iamkun/dayjs/releases{/id}","deployments_url":"https://api.github.com/repos/iamkun/dayjs/deployments","created_at":"2018-04-10T09:26:44Z","updated_at":"2018-08-04T02:21:03Z","pushed_at":"2018-08-04T07:22:50Z","git_url":"git://github.com/iamkun/dayjs.git","ssh_url":"git@github.com:iamkun/dayjs.git","clone_url":"https://github.com/iamkun/dayjs.git","svn_url":"https://github.com/iamkun/dayjs","homepage":"https://github.com/iamkun/dayjs","size":3577,"stargazers_count":12910,"watchers_count":12910,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":498,"mirror_url":null,"archived":false,"open_issues_count":46,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":498,"open_issues":46,"watchers":12910,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/iamkun/dayjs/pulls/296"},"html":{"href":"https://github.com/iamkun/dayjs/pull/296"},"issue":{"href":"https://api.github.com/repos/iamkun/dayjs/issues/296"},"comments":{"href":"https://api.github.com/repos/iamkun/dayjs/issues/296/comments"},"review_comments":{"href":"https://api.github.com/repos/iamkun/dayjs/pulls/296/comments"},"review_comment":{"href":"https://api.github.com/repos/iamkun/dayjs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/iamkun/dayjs/pulls/296/commits"},"statuses":{"href":"https://api.github.com/repos/iamkun/dayjs/statuses/d1e4981a1b7bd855f26a793e1100e6e86a05f513"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"lamartire"}}