{"action":"created","comment":{"url":"https://api.github.com/repos/elixir-lang/elixir/pulls/comments/86349004","pull_request_review_id":7011351,"id":86349004,"diff_hunk":"@@ -314,6 +321,23 @@ defmodule Date do\n     end\n   end\n \n+  @doc \"\"\"\n+  Computes the day of the week of a given `Date` struct.\n+\n+  Returns the day of the week as 1: Monday, 2: Tuesday, and so on.\n+\n+  ## Examples\n+\n+      iex> Date.day_of_week(~D[2016-10-31])\n+      1\n+      iex> Date.day_of_week(~D[2016-11-01])\n+      2\n+  \"\"\"\n+  @spec day_of_week(Date.t) :: integer","path":"lib/elixir/lib/calendar.ex","position":30,"original_position":30,"commit_id":"2e08aedb4bee3a0e5608936a13c399a768d97848","original_commit_id":"2e08aedb4bee3a0e5608936a13c399a768d97848","user":{"login":"eksperimental","id":9133420,"avatar_url":"https://avatars.githubusercontent.com/u/9133420?v=3","gravatar_id":"","url":"https://api.github.com/users/eksperimental","html_url":"https://github.com/eksperimental","followers_url":"https://api.github.com/users/eksperimental/followers","following_url":"https://api.github.com/users/eksperimental/following{/other_user}","gists_url":"https://api.github.com/users/eksperimental/gists{/gist_id}","starred_url":"https://api.github.com/users/eksperimental/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eksperimental/subscriptions","organizations_url":"https://api.github.com/users/eksperimental/orgs","repos_url":"https://api.github.com/users/eksperimental/repos","events_url":"https://api.github.com/users/eksperimental/events{/privacy}","received_events_url":"https://api.github.com/users/eksperimental/received_events","type":"User","site_admin":false},"body":"yes. sorry i missed the whole `calendar` variable thing.\r\nSo what about the ISO implementation?","created_at":"2016-11-03T14:05:17Z","updated_at":"2016-11-03T14:05:17Z","html_url":"https://github.com/elixir-lang/elixir/pull/5404#discussion_r86349004","pull_request_url":"https://api.github.com/repos/elixir-lang/elixir/pulls/5404","_links":{"self":{"href":"https://api.github.com/repos/elixir-lang/elixir/pulls/comments/86349004"},"html":{"href":"https://github.com/elixir-lang/elixir/pull/5404#discussion_r86349004"},"pull_request":{"href":"https://api.github.com/repos/elixir-lang/elixir/pulls/5404"}}},"pull_request":{"url":"https://api.github.com/repos/elixir-lang/elixir/pulls/5404","id":92147100,"html_url":"https://github.com/elixir-lang/elixir/pull/5404","diff_url":"https://github.com/elixir-lang/elixir/pull/5404.diff","patch_url":"https://github.com/elixir-lang/elixir/pull/5404.patch","issue_url":"https://api.github.com/repos/elixir-lang/elixir/issues/5404","number":5404,"state":"open","locked":false,"title":"Implements Date.day_of_week/1","user":{"login":"jbernardo95","id":6342528,"avatar_url":"https://avatars.githubusercontent.com/u/6342528?v=3","gravatar_id":"","url":"https://api.github.com/users/jbernardo95","html_url":"https://github.com/jbernardo95","followers_url":"https://api.github.com/users/jbernardo95/followers","following_url":"https://api.github.com/users/jbernardo95/following{/other_user}","gists_url":"https://api.github.com/users/jbernardo95/gists{/gist_id}","starred_url":"https://api.github.com/users/jbernardo95/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbernardo95/subscriptions","organizations_url":"https://api.github.com/users/jbernardo95/orgs","repos_url":"https://api.github.com/users/jbernardo95/repos","events_url":"https://api.github.com/users/jbernardo95/events{/privacy}","received_events_url":"https://api.github.com/users/jbernardo95/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-11-03T12:52:33Z","updated_at":"2016-11-03T14:05:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bb400046164a030769f41c02df0cca71449623e7","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/elixir-lang/elixir/pulls/5404/commits","review_comments_url":"https://api.github.com/repos/elixir-lang/elixir/pulls/5404/comments","review_comment_url":"https://api.github.com/repos/elixir-lang/elixir/pulls/comments{/number}","comments_url":"https://api.github.com/repos/elixir-lang/elixir/issues/5404/comments","statuses_url":"https://api.github.com/repos/elixir-lang/elixir/statuses/2e08aedb4bee3a0e5608936a13c399a768d97848","head":{"label":"jbernardo95:day_of_the_week","ref":"day_of_the_week","sha":"2e08aedb4bee3a0e5608936a13c399a768d97848","user":{"login":"jbernardo95","id":6342528,"avatar_url":"https://avatars.githubusercontent.com/u/6342528?v=3","gravatar_id":"","url":"https://api.github.com/users/jbernardo95","html_url":"https://github.com/jbernardo95","followers_url":"https://api.github.com/users/jbernardo95/followers","following_url":"https://api.github.com/users/jbernardo95/following{/other_user}","gists_url":"https://api.github.com/users/jbernardo95/gists{/gist_id}","starred_url":"https://api.github.com/users/jbernardo95/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbernardo95/subscriptions","organizations_url":"https://api.github.com/users/jbernardo95/orgs","repos_url":"https://api.github.com/users/jbernardo95/repos","events_url":"https://api.github.com/users/jbernardo95/events{/privacy}","received_events_url":"https://api.github.com/users/jbernardo95/received_events","type":"User","site_admin":false},"repo":{"id":72741281,"name":"elixir","full_name":"jbernardo95/elixir","owner":{"login":"jbernardo95","id":6342528,"avatar_url":"https://avatars.githubusercontent.com/u/6342528?v=3","gravatar_id":"","url":"https://api.github.com/users/jbernardo95","html_url":"https://github.com/jbernardo95","followers_url":"https://api.github.com/users/jbernardo95/followers","following_url":"https://api.github.com/users/jbernardo95/following{/other_user}","gists_url":"https://api.github.com/users/jbernardo95/gists{/gist_id}","starred_url":"https://api.github.com/users/jbernardo95/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbernardo95/subscriptions","organizations_url":"https://api.github.com/users/jbernardo95/orgs","repos_url":"https://api.github.com/users/jbernardo95/repos","events_url":"https://api.github.com/users/jbernardo95/events{/privacy}","received_events_url":"https://api.github.com/users/jbernardo95/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jbernardo95/elixir","description":"Elixir is a dynamic, functional language designed for building scalable and maintainable applications","fork":true,"url":"https://api.github.com/repos/jbernardo95/elixir","forks_url":"https://api.github.com/repos/jbernardo95/elixir/forks","keys_url":"https://api.github.com/repos/jbernardo95/elixir/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jbernardo95/elixir/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jbernardo95/elixir/teams","hooks_url":"https://api.github.com/repos/jbernardo95/elixir/hooks","issue_events_url":"https://api.github.com/repos/jbernardo95/elixir/issues/events{/number}","events_url":"https://api.github.com/repos/jbernardo95/elixir/events","assignees_url":"https://api.github.com/repos/jbernardo95/elixir/assignees{/user}","branches_url":"https://api.github.com/repos/jbernardo95/elixir/branches{/branch}","tags_url":"https://api.github.com/repos/jbernardo95/elixir/tags","blobs_url":"https://api.github.com/repos/jbernardo95/elixir/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jbernardo95/elixir/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jbernardo95/elixir/git/refs{/sha}","trees_url":"https://api.github.com/repos/jbernardo95/elixir/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jbernardo95/elixir/statuses/{sha}","languages_url":"https://api.github.com/repos/jbernardo95/elixir/languages","stargazers_url":"https://api.github.com/repos/jbernardo95/elixir/stargazers","contributors_url":"https://api.github.com/repos/jbernardo95/elixir/contributors","subscribers_url":"https://api.github.com/repos/jbernardo95/elixir/subscribers","subscription_url":"https://api.github.com/repos/jbernardo95/elixir/subscription","commits_url":"https://api.github.com/repos/jbernardo95/elixir/commits{/sha}","git_commits_url":"https://api.github.com/repos/jbernardo95/elixir/git/commits{/sha}","comments_url":"https://api.github.com/repos/jbernardo95/elixir/comments{/number}","issue_comment_url":"https://api.github.com/repos/jbernardo95/elixir/issues/comments{/number}","contents_url":"https://api.github.com/repos/jbernardo95/elixir/contents/{+path}","compare_url":"https://api.github.com/repos/jbernardo95/elixir/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jbernardo95/elixir/merges","archive_url":"https://api.github.com/repos/jbernardo95/elixir/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jbernardo95/elixir/downloads","issues_url":"https://api.github.com/repos/jbernardo95/elixir/issues{/number}","pulls_url":"https://api.github.com/repos/jbernardo95/elixir/pulls{/number}","milestones_url":"https://api.github.com/repos/jbernardo95/elixir/milestones{/number}","notifications_url":"https://api.github.com/repos/jbernardo95/elixir/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jbernardo95/elixir/labels{/name}","releases_url":"https://api.github.com/repos/jbernardo95/elixir/releases{/id}","deployments_url":"https://api.github.com/repos/jbernardo95/elixir/deployments","created_at":"2016-11-03T12:04:33Z","updated_at":"2016-11-03T12:04:36Z","pushed_at":"2016-11-03T13:42:37Z","git_url":"git://github.com/jbernardo95/elixir.git","ssh_url":"git@github.com:jbernardo95/elixir.git","clone_url":"https://github.com/jbernardo95/elixir.git","svn_url":"https://github.com/jbernardo95/elixir","homepage":"http://elixir-lang.org/","size":29462,"stargazers_count":0,"watchers_count":0,"language":"Elixir","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":"elixir-lang:master","ref":"master","sha":"160db7c20a6e5c9718911706e8b6bfdda9ee8d30","user":{"login":"elixir-lang","id":1481354,"avatar_url":"https://avatars.githubusercontent.com/u/1481354?v=3","gravatar_id":"","url":"https://api.github.com/users/elixir-lang","html_url":"https://github.com/elixir-lang","followers_url":"https://api.github.com/users/elixir-lang/followers","following_url":"https://api.github.com/users/elixir-lang/following{/other_user}","gists_url":"https://api.github.com/users/elixir-lang/gists{/gist_id}","starred_url":"https://api.github.com/users/elixir-lang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elixir-lang/subscriptions","organizations_url":"https://api.github.com/users/elixir-lang/orgs","repos_url":"https://api.github.com/users/elixir-lang/repos","events_url":"https://api.github.com/users/elixir-lang/events{/privacy}","received_events_url":"https://api.github.com/users/elixir-lang/received_events","type":"Organization","site_admin":false},"repo":{"id":1234714,"name":"elixir","full_name":"elixir-lang/elixir","owner":{"login":"elixir-lang","id":1481354,"avatar_url":"https://avatars.githubusercontent.com/u/1481354?v=3","gravatar_id":"","url":"https://api.github.com/users/elixir-lang","html_url":"https://github.com/elixir-lang","followers_url":"https://api.github.com/users/elixir-lang/followers","following_url":"https://api.github.com/users/elixir-lang/following{/other_user}","gists_url":"https://api.github.com/users/elixir-lang/gists{/gist_id}","starred_url":"https://api.github.com/users/elixir-lang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elixir-lang/subscriptions","organizations_url":"https://api.github.com/users/elixir-lang/orgs","repos_url":"https://api.github.com/users/elixir-lang/repos","events_url":"https://api.github.com/users/elixir-lang/events{/privacy}","received_events_url":"https://api.github.com/users/elixir-lang/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/elixir-lang/elixir","description":"Elixir is a dynamic, functional language designed for building scalable and maintainable applications","fork":false,"url":"https://api.github.com/repos/elixir-lang/elixir","forks_url":"https://api.github.com/repos/elixir-lang/elixir/forks","keys_url":"https://api.github.com/repos/elixir-lang/elixir/keys{/key_id}","collaborators_url":"https://api.github.com/repos/elixir-lang/elixir/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/elixir-lang/elixir/teams","hooks_url":"https://api.github.com/repos/elixir-lang/elixir/hooks","issue_events_url":"https://api.github.com/repos/elixir-lang/elixir/issues/events{/number}","events_url":"https://api.github.com/repos/elixir-lang/elixir/events","assignees_url":"https://api.github.com/repos/elixir-lang/elixir/assignees{/user}","branches_url":"https://api.github.com/repos/elixir-lang/elixir/branches{/branch}","tags_url":"https://api.github.com/repos/elixir-lang/elixir/tags","blobs_url":"https://api.github.com/repos/elixir-lang/elixir/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/elixir-lang/elixir/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/elixir-lang/elixir/git/refs{/sha}","trees_url":"https://api.github.com/repos/elixir-lang/elixir/git/trees{/sha}","statuses_url":"https://api.github.com/repos/elixir-lang/elixir/statuses/{sha}","languages_url":"https://api.github.com/repos/elixir-lang/elixir/languages","stargazers_url":"https://api.github.com/repos/elixir-lang/elixir/stargazers","contributors_url":"https://api.github.com/repos/elixir-lang/elixir/contributors","subscribers_url":"https://api.github.com/repos/elixir-lang/elixir/subscribers","subscription_url":"https://api.github.com/repos/elixir-lang/elixir/subscription","commits_url":"https://api.github.com/repos/elixir-lang/elixir/commits{/sha}","git_commits_url":"https://api.github.com/repos/elixir-lang/elixir/git/commits{/sha}","comments_url":"https://api.github.com/repos/elixir-lang/elixir/comments{/number}","issue_comment_url":"https://api.github.com/repos/elixir-lang/elixir/issues/comments{/number}","contents_url":"https://api.github.com/repos/elixir-lang/elixir/contents/{+path}","compare_url":"https://api.github.com/repos/elixir-lang/elixir/compare/{base}...{head}","merges_url":"https://api.github.com/repos/elixir-lang/elixir/merges","archive_url":"https://api.github.com/repos/elixir-lang/elixir/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/elixir-lang/elixir/downloads","issues_url":"https://api.github.com/repos/elixir-lang/elixir/issues{/number}","pulls_url":"https://api.github.com/repos/elixir-lang/elixir/pulls{/number}","milestones_url":"https://api.github.com/repos/elixir-lang/elixir/milestones{/number}","notifications_url":"https://api.github.com/repos/elixir-lang/elixir/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/elixir-lang/elixir/labels{/name}","releases_url":"https://api.github.com/repos/elixir-lang/elixir/releases{/id}","deployments_url":"https://api.github.com/repos/elixir-lang/elixir/deployments","created_at":"2011-01-09T08:43:57Z","updated_at":"2016-11-03T10:33:09Z","pushed_at":"2016-11-03T14:04:58Z","git_url":"git://github.com/elixir-lang/elixir.git","ssh_url":"git@github.com:elixir-lang/elixir.git","clone_url":"https://github.com/elixir-lang/elixir.git","svn_url":"https://github.com/elixir-lang/elixir","homepage":"http://elixir-lang.org/","size":39698,"stargazers_count":8449,"watchers_count":8449,"language":"Elixir","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1155,"mirror_url":null,"open_issues_count":31,"forks":1155,"open_issues":31,"watchers":8449,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/elixir-lang/elixir/pulls/5404"},"html":{"href":"https://github.com/elixir-lang/elixir/pull/5404"},"issue":{"href":"https://api.github.com/repos/elixir-lang/elixir/issues/5404"},"comments":{"href":"https://api.github.com/repos/elixir-lang/elixir/issues/5404/comments"},"review_comments":{"href":"https://api.github.com/repos/elixir-lang/elixir/pulls/5404/comments"},"review_comment":{"href":"https://api.github.com/repos/elixir-lang/elixir/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/elixir-lang/elixir/pulls/5404/commits"},"statuses":{"href":"https://api.github.com/repos/elixir-lang/elixir/statuses/2e08aedb4bee3a0e5608936a13c399a768d97848"}}}}
{"actor":{"display_login":"eksperimental"}}