{"action":"created","comment":{"url":"https://api.github.com/repos/nnev/c14h/pulls/comments/43223741","id":43223741,"diff_hunk":"@@ -223,6 +223,11 @@ func handlePost(res http.ResponseWriter, req *http.Request) {\n \n \tdate, _ := time.ParseInLocation(\"2006-01-02\", dateStr, loc)\n \n+\tif date.Weekday() != 4 && !time.IsZero() {","path":"main.go","position":4,"original_position":4,"commit_id":"b9839421da2a35fc5f4f1cae0513658c9ea7e633","original_commit_id":"b9839421da2a35fc5f4f1cae0513658c9ea7e633","user":{"login":"Merovius","id":720787,"avatar_url":"https://avatars.githubusercontent.com/u/720787?v=3","gravatar_id":"","url":"https://api.github.com/users/Merovius","html_url":"https://github.com/Merovius","followers_url":"https://api.github.com/users/Merovius/followers","following_url":"https://api.github.com/users/Merovius/following{/other_user}","gists_url":"https://api.github.com/users/Merovius/gists{/gist_id}","starred_url":"https://api.github.com/users/Merovius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Merovius/subscriptions","organizations_url":"https://api.github.com/users/Merovius/orgs","repos_url":"https://api.github.com/users/Merovius/repos","events_url":"https://api.github.com/users/Merovius/events{/privacy}","received_events_url":"https://api.github.com/users/Merovius/received_events","type":"User","site_admin":false},"body":"s/4/[time.Thursday](https://godoc.org/time#Weekday)/\r\ns/time/date/ (that should have popped up when trying to build)","created_at":"2015-10-28T07:19:41Z","updated_at":"2015-10-28T07:19:41Z","html_url":"https://github.com/nnev/c14h/pull/10#discussion_r43223741","pull_request_url":"https://api.github.com/repos/nnev/c14h/pulls/10","_links":{"self":{"href":"https://api.github.com/repos/nnev/c14h/pulls/comments/43223741"},"html":{"href":"https://github.com/nnev/c14h/pull/10#discussion_r43223741"},"pull_request":{"href":"https://api.github.com/repos/nnev/c14h/pulls/10"}}},"pull_request":{"url":"https://api.github.com/repos/nnev/c14h/pulls/10","id":48947313,"html_url":"https://github.com/nnev/c14h/pull/10","diff_url":"https://github.com/nnev/c14h/pull/10.diff","patch_url":"https://github.com/nnev/c14h/pull/10.patch","issue_url":"https://api.github.com/repos/nnev/c14h/issues/10","number":10,"state":"open","locked":false,"title":"don't allow scheduling for non-thursdays","user":{"login":"cherti","id":6452205,"avatar_url":"https://avatars.githubusercontent.com/u/6452205?v=3","gravatar_id":"","url":"https://api.github.com/users/cherti","html_url":"https://github.com/cherti","followers_url":"https://api.github.com/users/cherti/followers","following_url":"https://api.github.com/users/cherti/following{/other_user}","gists_url":"https://api.github.com/users/cherti/gists{/gist_id}","starred_url":"https://api.github.com/users/cherti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cherti/subscriptions","organizations_url":"https://api.github.com/users/cherti/orgs","repos_url":"https://api.github.com/users/cherti/repos","events_url":"https://api.github.com/users/cherti/events{/privacy}","received_events_url":"https://api.github.com/users/cherti/received_events","type":"User","site_admin":false},"body":"Don't allow scheduling a talk on a non-thursday. Solves issue #8.","created_at":"2015-10-27T23:32:54Z","updated_at":"2015-10-28T07:19:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":"30c22a9c9f94c4c5c89928fa697e569cb2acc13e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/nnev/c14h/pulls/10/commits","review_comments_url":"https://api.github.com/repos/nnev/c14h/pulls/10/comments","review_comment_url":"https://api.github.com/repos/nnev/c14h/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nnev/c14h/issues/10/comments","statuses_url":"https://api.github.com/repos/nnev/c14h/statuses/b9839421da2a35fc5f4f1cae0513658c9ea7e633","head":{"label":"nnev:nononthursdays","ref":"nononthursdays","sha":"b9839421da2a35fc5f4f1cae0513658c9ea7e633","user":{"login":"nnev","id":6986936,"avatar_url":"https://avatars.githubusercontent.com/u/6986936?v=3","gravatar_id":"","url":"https://api.github.com/users/nnev","html_url":"https://github.com/nnev","followers_url":"https://api.github.com/users/nnev/followers","following_url":"https://api.github.com/users/nnev/following{/other_user}","gists_url":"https://api.github.com/users/nnev/gists{/gist_id}","starred_url":"https://api.github.com/users/nnev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nnev/subscriptions","organizations_url":"https://api.github.com/users/nnev/orgs","repos_url":"https://api.github.com/users/nnev/repos","events_url":"https://api.github.com/users/nnev/events{/privacy}","received_events_url":"https://api.github.com/users/nnev/received_events","type":"Organization","site_admin":false},"repo":{"id":17865166,"name":"c14h","full_name":"nnev/c14h","owner":{"login":"nnev","id":6986936,"avatar_url":"https://avatars.githubusercontent.com/u/6986936?v=3","gravatar_id":"","url":"https://api.github.com/users/nnev","html_url":"https://github.com/nnev","followers_url":"https://api.github.com/users/nnev/followers","following_url":"https://api.github.com/users/nnev/following{/other_user}","gists_url":"https://api.github.com/users/nnev/gists{/gist_id}","starred_url":"https://api.github.com/users/nnev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nnev/subscriptions","organizations_url":"https://api.github.com/users/nnev/orgs","repos_url":"https://api.github.com/users/nnev/repos","events_url":"https://api.github.com/users/nnev/events{/privacy}","received_events_url":"https://api.github.com/users/nnev/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/nnev/c14h","description":"c14h registration form handler","fork":false,"url":"https://api.github.com/repos/nnev/c14h","forks_url":"https://api.github.com/repos/nnev/c14h/forks","keys_url":"https://api.github.com/repos/nnev/c14h/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nnev/c14h/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nnev/c14h/teams","hooks_url":"https://api.github.com/repos/nnev/c14h/hooks","issue_events_url":"https://api.github.com/repos/nnev/c14h/issues/events{/number}","events_url":"https://api.github.com/repos/nnev/c14h/events","assignees_url":"https://api.github.com/repos/nnev/c14h/assignees{/user}","branches_url":"https://api.github.com/repos/nnev/c14h/branches{/branch}","tags_url":"https://api.github.com/repos/nnev/c14h/tags","blobs_url":"https://api.github.com/repos/nnev/c14h/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nnev/c14h/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nnev/c14h/git/refs{/sha}","trees_url":"https://api.github.com/repos/nnev/c14h/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nnev/c14h/statuses/{sha}","languages_url":"https://api.github.com/repos/nnev/c14h/languages","stargazers_url":"https://api.github.com/repos/nnev/c14h/stargazers","contributors_url":"https://api.github.com/repos/nnev/c14h/contributors","subscribers_url":"https://api.github.com/repos/nnev/c14h/subscribers","subscription_url":"https://api.github.com/repos/nnev/c14h/subscription","commits_url":"https://api.github.com/repos/nnev/c14h/commits{/sha}","git_commits_url":"https://api.github.com/repos/nnev/c14h/git/commits{/sha}","comments_url":"https://api.github.com/repos/nnev/c14h/comments{/number}","issue_comment_url":"https://api.github.com/repos/nnev/c14h/issues/comments{/number}","contents_url":"https://api.github.com/repos/nnev/c14h/contents/{+path}","compare_url":"https://api.github.com/repos/nnev/c14h/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nnev/c14h/merges","archive_url":"https://api.github.com/repos/nnev/c14h/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nnev/c14h/downloads","issues_url":"https://api.github.com/repos/nnev/c14h/issues{/number}","pulls_url":"https://api.github.com/repos/nnev/c14h/pulls{/number}","milestones_url":"https://api.github.com/repos/nnev/c14h/milestones{/number}","notifications_url":"https://api.github.com/repos/nnev/c14h/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nnev/c14h/labels{/name}","releases_url":"https://api.github.com/repos/nnev/c14h/releases{/id}","created_at":"2014-03-18T12:38:45Z","updated_at":"2015-03-30T20:32:11Z","pushed_at":"2015-10-27T23:33:43Z","git_url":"git://github.com/nnev/c14h.git","ssh_url":"git@github.com:nnev/c14h.git","clone_url":"https://github.com/nnev/c14h.git","svn_url":"https://github.com/nnev/c14h","homepage":null,"size":224,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":6,"forks":0,"open_issues":6,"watchers":0,"default_branch":"master"}},"base":{"label":"nnev:master","ref":"master","sha":"0b41ea2b1b3e2c7a7da763db0569486e3a974883","user":{"login":"nnev","id":6986936,"avatar_url":"https://avatars.githubusercontent.com/u/6986936?v=3","gravatar_id":"","url":"https://api.github.com/users/nnev","html_url":"https://github.com/nnev","followers_url":"https://api.github.com/users/nnev/followers","following_url":"https://api.github.com/users/nnev/following{/other_user}","gists_url":"https://api.github.com/users/nnev/gists{/gist_id}","starred_url":"https://api.github.com/users/nnev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nnev/subscriptions","organizations_url":"https://api.github.com/users/nnev/orgs","repos_url":"https://api.github.com/users/nnev/repos","events_url":"https://api.github.com/users/nnev/events{/privacy}","received_events_url":"https://api.github.com/users/nnev/received_events","type":"Organization","site_admin":false},"repo":{"id":17865166,"name":"c14h","full_name":"nnev/c14h","owner":{"login":"nnev","id":6986936,"avatar_url":"https://avatars.githubusercontent.com/u/6986936?v=3","gravatar_id":"","url":"https://api.github.com/users/nnev","html_url":"https://github.com/nnev","followers_url":"https://api.github.com/users/nnev/followers","following_url":"https://api.github.com/users/nnev/following{/other_user}","gists_url":"https://api.github.com/users/nnev/gists{/gist_id}","starred_url":"https://api.github.com/users/nnev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nnev/subscriptions","organizations_url":"https://api.github.com/users/nnev/orgs","repos_url":"https://api.github.com/users/nnev/repos","events_url":"https://api.github.com/users/nnev/events{/privacy}","received_events_url":"https://api.github.com/users/nnev/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/nnev/c14h","description":"c14h registration form handler","fork":false,"url":"https://api.github.com/repos/nnev/c14h","forks_url":"https://api.github.com/repos/nnev/c14h/forks","keys_url":"https://api.github.com/repos/nnev/c14h/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nnev/c14h/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nnev/c14h/teams","hooks_url":"https://api.github.com/repos/nnev/c14h/hooks","issue_events_url":"https://api.github.com/repos/nnev/c14h/issues/events{/number}","events_url":"https://api.github.com/repos/nnev/c14h/events","assignees_url":"https://api.github.com/repos/nnev/c14h/assignees{/user}","branches_url":"https://api.github.com/repos/nnev/c14h/branches{/branch}","tags_url":"https://api.github.com/repos/nnev/c14h/tags","blobs_url":"https://api.github.com/repos/nnev/c14h/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nnev/c14h/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nnev/c14h/git/refs{/sha}","trees_url":"https://api.github.com/repos/nnev/c14h/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nnev/c14h/statuses/{sha}","languages_url":"https://api.github.com/repos/nnev/c14h/languages","stargazers_url":"https://api.github.com/repos/nnev/c14h/stargazers","contributors_url":"https://api.github.com/repos/nnev/c14h/contributors","subscribers_url":"https://api.github.com/repos/nnev/c14h/subscribers","subscription_url":"https://api.github.com/repos/nnev/c14h/subscription","commits_url":"https://api.github.com/repos/nnev/c14h/commits{/sha}","git_commits_url":"https://api.github.com/repos/nnev/c14h/git/commits{/sha}","comments_url":"https://api.github.com/repos/nnev/c14h/comments{/number}","issue_comment_url":"https://api.github.com/repos/nnev/c14h/issues/comments{/number}","contents_url":"https://api.github.com/repos/nnev/c14h/contents/{+path}","compare_url":"https://api.github.com/repos/nnev/c14h/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nnev/c14h/merges","archive_url":"https://api.github.com/repos/nnev/c14h/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nnev/c14h/downloads","issues_url":"https://api.github.com/repos/nnev/c14h/issues{/number}","pulls_url":"https://api.github.com/repos/nnev/c14h/pulls{/number}","milestones_url":"https://api.github.com/repos/nnev/c14h/milestones{/number}","notifications_url":"https://api.github.com/repos/nnev/c14h/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nnev/c14h/labels{/name}","releases_url":"https://api.github.com/repos/nnev/c14h/releases{/id}","created_at":"2014-03-18T12:38:45Z","updated_at":"2015-03-30T20:32:11Z","pushed_at":"2015-10-27T23:33:43Z","git_url":"git://github.com/nnev/c14h.git","ssh_url":"git@github.com:nnev/c14h.git","clone_url":"https://github.com/nnev/c14h.git","svn_url":"https://github.com/nnev/c14h","homepage":null,"size":224,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":6,"forks":0,"open_issues":6,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nnev/c14h/pulls/10"},"html":{"href":"https://github.com/nnev/c14h/pull/10"},"issue":{"href":"https://api.github.com/repos/nnev/c14h/issues/10"},"comments":{"href":"https://api.github.com/repos/nnev/c14h/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/nnev/c14h/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/nnev/c14h/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nnev/c14h/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/nnev/c14h/statuses/b9839421da2a35fc5f4f1cae0513658c9ea7e633"}}}}