{"action":"closed","number":2,"pull_request":{"url":"https://api.github.com/repos/datetime/current-week-number/pulls/2","id":28506605,"html_url":"https://github.com/datetime/current-week-number/pull/2","diff_url":"https://github.com/datetime/current-week-number/pull/2.diff","patch_url":"https://github.com/datetime/current-week-number/pull/2.patch","issue_url":"https://api.github.com/repos/datetime/current-week-number/issues/2","number":2,"state":"closed","locked":false,"title":"Accept a Date object in addition to strings","user":{"login":"wankdanker","id":624233,"avatar_url":"https://avatars.githubusercontent.com/u/624233?v=3","gravatar_id":"","url":"https://api.github.com/users/wankdanker","html_url":"https://github.com/wankdanker","followers_url":"https://api.github.com/users/wankdanker/followers","following_url":"https://api.github.com/users/wankdanker/following{/other_user}","gists_url":"https://api.github.com/users/wankdanker/gists{/gist_id}","starred_url":"https://api.github.com/users/wankdanker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wankdanker/subscriptions","organizations_url":"https://api.github.com/users/wankdanker/orgs","repos_url":"https://api.github.com/users/wankdanker/repos","events_url":"https://api.github.com/users/wankdanker/events{/privacy}","received_events_url":"https://api.github.com/users/wankdanker/received_events","type":"User","site_admin":false},"body":"This module does exactly what I need it to do, but the dates I need to work with are already instances of Date. This patch allows one to pass a Date object as an argument to the function.","created_at":"2015-02-02T21:58:04Z","updated_at":"2015-02-02T23:01:23Z","closed_at":"2015-02-02T23:01:23Z","merged_at":"2015-02-02T23:01:23Z","merge_commit_sha":"f1459738038eee6ccbfa22bc402dc1e6c780e6df","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/datetime/current-week-number/pulls/2/commits","review_comments_url":"https://api.github.com/repos/datetime/current-week-number/pulls/2/comments","review_comment_url":"https://api.github.com/repos/datetime/current-week-number/pulls/comments/{number}","comments_url":"https://api.github.com/repos/datetime/current-week-number/issues/2/comments","statuses_url":"https://api.github.com/repos/datetime/current-week-number/statuses/45a26f75c5b29d4a7368737f91f5ac7ad9f6265f","head":{"label":"wankdanker:master","ref":"master","sha":"45a26f75c5b29d4a7368737f91f5ac7ad9f6265f","user":{"login":"wankdanker","id":624233,"avatar_url":"https://avatars.githubusercontent.com/u/624233?v=3","gravatar_id":"","url":"https://api.github.com/users/wankdanker","html_url":"https://github.com/wankdanker","followers_url":"https://api.github.com/users/wankdanker/followers","following_url":"https://api.github.com/users/wankdanker/following{/other_user}","gists_url":"https://api.github.com/users/wankdanker/gists{/gist_id}","starred_url":"https://api.github.com/users/wankdanker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wankdanker/subscriptions","organizations_url":"https://api.github.com/users/wankdanker/orgs","repos_url":"https://api.github.com/users/wankdanker/repos","events_url":"https://api.github.com/users/wankdanker/events{/privacy}","received_events_url":"https://api.github.com/users/wankdanker/received_events","type":"User","site_admin":false},"repo":{"id":30210318,"name":"current-week-number","full_name":"wankdanker/current-week-number","owner":{"login":"wankdanker","id":624233,"avatar_url":"https://avatars.githubusercontent.com/u/624233?v=3","gravatar_id":"","url":"https://api.github.com/users/wankdanker","html_url":"https://github.com/wankdanker","followers_url":"https://api.github.com/users/wankdanker/followers","following_url":"https://api.github.com/users/wankdanker/following{/other_user}","gists_url":"https://api.github.com/users/wankdanker/gists{/gist_id}","starred_url":"https://api.github.com/users/wankdanker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wankdanker/subscriptions","organizations_url":"https://api.github.com/users/wankdanker/orgs","repos_url":"https://api.github.com/users/wankdanker/repos","events_url":"https://api.github.com/users/wankdanker/events{/privacy}","received_events_url":"https://api.github.com/users/wankdanker/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/wankdanker/current-week-number","description":"Get current week number of the current year or given date string format.","fork":true,"url":"https://api.github.com/repos/wankdanker/current-week-number","forks_url":"https://api.github.com/repos/wankdanker/current-week-number/forks","keys_url":"https://api.github.com/repos/wankdanker/current-week-number/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wankdanker/current-week-number/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wankdanker/current-week-number/teams","hooks_url":"https://api.github.com/repos/wankdanker/current-week-number/hooks","issue_events_url":"https://api.github.com/repos/wankdanker/current-week-number/issues/events{/number}","events_url":"https://api.github.com/repos/wankdanker/current-week-number/events","assignees_url":"https://api.github.com/repos/wankdanker/current-week-number/assignees{/user}","branches_url":"https://api.github.com/repos/wankdanker/current-week-number/branches{/branch}","tags_url":"https://api.github.com/repos/wankdanker/current-week-number/tags","blobs_url":"https://api.github.com/repos/wankdanker/current-week-number/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wankdanker/current-week-number/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wankdanker/current-week-number/git/refs{/sha}","trees_url":"https://api.github.com/repos/wankdanker/current-week-number/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wankdanker/current-week-number/statuses/{sha}","languages_url":"https://api.github.com/repos/wankdanker/current-week-number/languages","stargazers_url":"https://api.github.com/repos/wankdanker/current-week-number/stargazers","contributors_url":"https://api.github.com/repos/wankdanker/current-week-number/contributors","subscribers_url":"https://api.github.com/repos/wankdanker/current-week-number/subscribers","subscription_url":"https://api.github.com/repos/wankdanker/current-week-number/subscription","commits_url":"https://api.github.com/repos/wankdanker/current-week-number/commits{/sha}","git_commits_url":"https://api.github.com/repos/wankdanker/current-week-number/git/commits{/sha}","comments_url":"https://api.github.com/repos/wankdanker/current-week-number/comments{/number}","issue_comment_url":"https://api.github.com/repos/wankdanker/current-week-number/issues/comments/{number}","contents_url":"https://api.github.com/repos/wankdanker/current-week-number/contents/{+path}","compare_url":"https://api.github.com/repos/wankdanker/current-week-number/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wankdanker/current-week-number/merges","archive_url":"https://api.github.com/repos/wankdanker/current-week-number/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wankdanker/current-week-number/downloads","issues_url":"https://api.github.com/repos/wankdanker/current-week-number/issues{/number}","pulls_url":"https://api.github.com/repos/wankdanker/current-week-number/pulls{/number}","milestones_url":"https://api.github.com/repos/wankdanker/current-week-number/milestones{/number}","notifications_url":"https://api.github.com/repos/wankdanker/current-week-number/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wankdanker/current-week-number/labels{/name}","releases_url":"https://api.github.com/repos/wankdanker/current-week-number/releases{/id}","created_at":"2015-02-02T21:45:15Z","updated_at":"2015-02-02T22:17:21Z","pushed_at":"2015-02-02T22:17:21Z","git_url":"git://github.com/wankdanker/current-week-number.git","ssh_url":"git@github.com:wankdanker/current-week-number.git","clone_url":"https://github.com/wankdanker/current-week-number.git","svn_url":"https://github.com/wankdanker/current-week-number","homepage":"","size":114,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"datetime:master","ref":"master","sha":"92ac688aac543852ee3710f3c2a986536adbf29a","user":{"login":"datetime","id":9695787,"avatar_url":"https://avatars.githubusercontent.com/u/9695787?v=3","gravatar_id":"","url":"https://api.github.com/users/datetime","html_url":"https://github.com/datetime","followers_url":"https://api.github.com/users/datetime/followers","following_url":"https://api.github.com/users/datetime/following{/other_user}","gists_url":"https://api.github.com/users/datetime/gists{/gist_id}","starred_url":"https://api.github.com/users/datetime/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/datetime/subscriptions","organizations_url":"https://api.github.com/users/datetime/orgs","repos_url":"https://api.github.com/users/datetime/repos","events_url":"https://api.github.com/users/datetime/events{/privacy}","received_events_url":"https://api.github.com/users/datetime/received_events","type":"Organization","site_admin":false},"repo":{"id":21278162,"name":"current-week-number","full_name":"datetime/current-week-number","owner":{"login":"datetime","id":9695787,"avatar_url":"https://avatars.githubusercontent.com/u/9695787?v=3","gravatar_id":"","url":"https://api.github.com/users/datetime","html_url":"https://github.com/datetime","followers_url":"https://api.github.com/users/datetime/followers","following_url":"https://api.github.com/users/datetime/following{/other_user}","gists_url":"https://api.github.com/users/datetime/gists{/gist_id}","starred_url":"https://api.github.com/users/datetime/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/datetime/subscriptions","organizations_url":"https://api.github.com/users/datetime/orgs","repos_url":"https://api.github.com/users/datetime/repos","events_url":"https://api.github.com/users/datetime/events{/privacy}","received_events_url":"https://api.github.com/users/datetime/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/datetime/current-week-number","description":"Get current week number of the current year or given date string format.","fork":false,"url":"https://api.github.com/repos/datetime/current-week-number","forks_url":"https://api.github.com/repos/datetime/current-week-number/forks","keys_url":"https://api.github.com/repos/datetime/current-week-number/keys{/key_id}","collaborators_url":"https://api.github.com/repos/datetime/current-week-number/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/datetime/current-week-number/teams","hooks_url":"https://api.github.com/repos/datetime/current-week-number/hooks","issue_events_url":"https://api.github.com/repos/datetime/current-week-number/issues/events{/number}","events_url":"https://api.github.com/repos/datetime/current-week-number/events","assignees_url":"https://api.github.com/repos/datetime/current-week-number/assignees{/user}","branches_url":"https://api.github.com/repos/datetime/current-week-number/branches{/branch}","tags_url":"https://api.github.com/repos/datetime/current-week-number/tags","blobs_url":"https://api.github.com/repos/datetime/current-week-number/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/datetime/current-week-number/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/datetime/current-week-number/git/refs{/sha}","trees_url":"https://api.github.com/repos/datetime/current-week-number/git/trees{/sha}","statuses_url":"https://api.github.com/repos/datetime/current-week-number/statuses/{sha}","languages_url":"https://api.github.com/repos/datetime/current-week-number/languages","stargazers_url":"https://api.github.com/repos/datetime/current-week-number/stargazers","contributors_url":"https://api.github.com/repos/datetime/current-week-number/contributors","subscribers_url":"https://api.github.com/repos/datetime/current-week-number/subscribers","subscription_url":"https://api.github.com/repos/datetime/current-week-number/subscription","commits_url":"https://api.github.com/repos/datetime/current-week-number/commits{/sha}","git_commits_url":"https://api.github.com/repos/datetime/current-week-number/git/commits{/sha}","comments_url":"https://api.github.com/repos/datetime/current-week-number/comments{/number}","issue_comment_url":"https://api.github.com/repos/datetime/current-week-number/issues/comments/{number}","contents_url":"https://api.github.com/repos/datetime/current-week-number/contents/{+path}","compare_url":"https://api.github.com/repos/datetime/current-week-number/compare/{base}...{head}","merges_url":"https://api.github.com/repos/datetime/current-week-number/merges","archive_url":"https://api.github.com/repos/datetime/current-week-number/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/datetime/current-week-number/downloads","issues_url":"https://api.github.com/repos/datetime/current-week-number/issues{/number}","pulls_url":"https://api.github.com/repos/datetime/current-week-number/pulls{/number}","milestones_url":"https://api.github.com/repos/datetime/current-week-number/milestones{/number}","notifications_url":"https://api.github.com/repos/datetime/current-week-number/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/datetime/current-week-number/labels{/name}","releases_url":"https://api.github.com/repos/datetime/current-week-number/releases{/id}","created_at":"2014-06-27T14:18:21Z","updated_at":"2015-02-02T23:01:24Z","pushed_at":"2015-02-02T23:01:24Z","git_url":"git://github.com/datetime/current-week-number.git","ssh_url":"git@github.com:datetime/current-week-number.git","clone_url":"https://github.com/datetime/current-week-number.git","svn_url":"https://github.com/datetime/current-week-number","homepage":"","size":256,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/datetime/current-week-number/pulls/2"},"html":{"href":"https://github.com/datetime/current-week-number/pull/2"},"issue":{"href":"https://api.github.com/repos/datetime/current-week-number/issues/2"},"comments":{"href":"https://api.github.com/repos/datetime/current-week-number/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/datetime/current-week-number/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/datetime/current-week-number/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/datetime/current-week-number/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/datetime/current-week-number/statuses/45a26f75c5b29d4a7368737f91f5ac7ad9f6265f"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"tunnckoCore","id":5038030,"avatar_url":"https://avatars.githubusercontent.com/u/5038030?v=3","gravatar_id":"","url":"https://api.github.com/users/tunnckoCore","html_url":"https://github.com/tunnckoCore","followers_url":"https://api.github.com/users/tunnckoCore/followers","following_url":"https://api.github.com/users/tunnckoCore/following{/other_user}","gists_url":"https://api.github.com/users/tunnckoCore/gists{/gist_id}","starred_url":"https://api.github.com/users/tunnckoCore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tunnckoCore/subscriptions","organizations_url":"https://api.github.com/users/tunnckoCore/orgs","repos_url":"https://api.github.com/users/tunnckoCore/repos","events_url":"https://api.github.com/users/tunnckoCore/events{/privacy}","received_events_url":"https://api.github.com/users/tunnckoCore/received_events","type":"User","site_admin":false},"comments":2,"review_comments":0,"commits":2,"additions":12,"deletions":4,"changed_files":3}}