{"action":"created","comment":{"url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/pulls/comments/68490767","id":68490767,"diff_hunk":"@@ -50,6 +51,7 @@ ddg_goodie_test(\n     $month_test => build_test(\"1 month\", $month_test),\n     $year_test => build_test(\"2 years\", $year_test),\n     $invalid_query => undef,\n+    $neg_query => build_test(\"-(1 month and 3 days)\", $neg_query),","path":"t/DurationCalculator.t","position":12,"original_position":12,"commit_id":"7c8dfe9e0cf3707c32d985149638d8a4edfb63b6","original_commit_id":"7c8dfe9e0cf3707c32d985149638d8a4edfb63b6","user":{"login":"GuiltyDolphin","id":8598426,"avatar_url":"https://avatars.githubusercontent.com/u/8598426?v=3","gravatar_id":"","url":"https://api.github.com/users/GuiltyDolphin","html_url":"https://github.com/GuiltyDolphin","followers_url":"https://api.github.com/users/GuiltyDolphin/followers","following_url":"https://api.github.com/users/GuiltyDolphin/following{/other_user}","gists_url":"https://api.github.com/users/GuiltyDolphin/gists{/gist_id}","starred_url":"https://api.github.com/users/GuiltyDolphin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GuiltyDolphin/subscriptions","organizations_url":"https://api.github.com/users/GuiltyDolphin/orgs","repos_url":"https://api.github.com/users/GuiltyDolphin/repos","events_url":"https://api.github.com/users/GuiltyDolphin/events{/privacy}","received_events_url":"https://api.github.com/users/GuiltyDolphin/received_events","type":"User","site_admin":false},"body":"Lets add some tests for `1 day - 24 hours`, `1 day + -24 hours`, `1 week - 3 days`, `-1 week + 8 days`, and `-1 week - 1 day`","created_at":"2016-06-25T16:50:19Z","updated_at":"2016-06-25T16:50:19Z","html_url":"https://github.com/duckduckgo/zeroclickinfo-goodies/pull/3305#discussion_r68490767","pull_request_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/pulls/3305","_links":{"self":{"href":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/pulls/comments/68490767"},"html":{"href":"https://github.com/duckduckgo/zeroclickinfo-goodies/pull/3305#discussion_r68490767"},"pull_request":{"href":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/pulls/3305"}}},"pull_request":{"url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/pulls/3305","id":75208322,"html_url":"https://github.com/duckduckgo/zeroclickinfo-goodies/pull/3305","diff_url":"https://github.com/duckduckgo/zeroclickinfo-goodies/pull/3305.diff","patch_url":"https://github.com/duckduckgo/zeroclickinfo-goodies/pull/3305.patch","issue_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/issues/3305","number":3305,"state":"open","locked":false,"title":"Add Handling Negative Duration in Duration Calculator","user":{"login":"sam09","id":6648290,"avatar_url":"https://avatars.githubusercontent.com/u/6648290?v=3","gravatar_id":"","url":"https://api.github.com/users/sam09","html_url":"https://github.com/sam09","followers_url":"https://api.github.com/users/sam09/followers","following_url":"https://api.github.com/users/sam09/following{/other_user}","gists_url":"https://api.github.com/users/sam09/gists{/gist_id}","starred_url":"https://api.github.com/users/sam09/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sam09/subscriptions","organizations_url":"https://api.github.com/users/sam09/orgs","repos_url":"https://api.github.com/users/sam09/repos","events_url":"https://api.github.com/users/sam09/events{/privacy}","received_events_url":"https://api.github.com/users/sam09/received_events","type":"User","site_admin":false},"body":"\r\n\r\n- [x] Improvement\r\n    - [x] Bug fix: **`Duration Calculator: Fix 3300`**\r\n\r\nAdded Handling negative duration\r\n\r\nFixes #3300\r\n\r\nInstant Answer Page: https://duck.co/ia/view/duration_calculator\r\n\r\n","created_at":"2016-06-25T16:20:23Z","updated_at":"2016-06-25T16:50:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5333ee06ea8649b8f9e86b9f9b37aab2365ec163","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/pulls/3305/commits","review_comments_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/pulls/3305/comments","review_comment_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/pulls/comments{/number}","comments_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/issues/3305/comments","statuses_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/statuses/7c8dfe9e0cf3707c32d985149638d8a4edfb63b6","head":{"label":"sam09:fix3300","ref":"fix3300","sha":"7c8dfe9e0cf3707c32d985149638d8a4edfb63b6","user":{"login":"sam09","id":6648290,"avatar_url":"https://avatars.githubusercontent.com/u/6648290?v=3","gravatar_id":"","url":"https://api.github.com/users/sam09","html_url":"https://github.com/sam09","followers_url":"https://api.github.com/users/sam09/followers","following_url":"https://api.github.com/users/sam09/following{/other_user}","gists_url":"https://api.github.com/users/sam09/gists{/gist_id}","starred_url":"https://api.github.com/users/sam09/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sam09/subscriptions","organizations_url":"https://api.github.com/users/sam09/orgs","repos_url":"https://api.github.com/users/sam09/repos","events_url":"https://api.github.com/users/sam09/events{/privacy}","received_events_url":"https://api.github.com/users/sam09/received_events","type":"User","site_admin":false},"repo":{"id":60708646,"name":"zeroclickinfo-goodies","full_name":"sam09/zeroclickinfo-goodies","owner":{"login":"sam09","id":6648290,"avatar_url":"https://avatars.githubusercontent.com/u/6648290?v=3","gravatar_id":"","url":"https://api.github.com/users/sam09","html_url":"https://github.com/sam09","followers_url":"https://api.github.com/users/sam09/followers","following_url":"https://api.github.com/users/sam09/following{/other_user}","gists_url":"https://api.github.com/users/sam09/gists{/gist_id}","starred_url":"https://api.github.com/users/sam09/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sam09/subscriptions","organizations_url":"https://api.github.com/users/sam09/orgs","repos_url":"https://api.github.com/users/sam09/repos","events_url":"https://api.github.com/users/sam09/events{/privacy}","received_events_url":"https://api.github.com/users/sam09/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sam09/zeroclickinfo-goodies","description":"DuckDuckGo Instant Answers based on Perl & JavaScript","fork":true,"url":"https://api.github.com/repos/sam09/zeroclickinfo-goodies","forks_url":"https://api.github.com/repos/sam09/zeroclickinfo-goodies/forks","keys_url":"https://api.github.com/repos/sam09/zeroclickinfo-goodies/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sam09/zeroclickinfo-goodies/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sam09/zeroclickinfo-goodies/teams","hooks_url":"https://api.github.com/repos/sam09/zeroclickinfo-goodies/hooks","issue_events_url":"https://api.github.com/repos/sam09/zeroclickinfo-goodies/issues/events{/number}","events_url":"https://api.github.com/repos/sam09/zeroclickinfo-goodies/events","assignees_url":"https://api.github.com/repos/sam09/zeroclickinfo-goodies/assignees{/user}","branches_url":"https://api.github.com/repos/sam09/zeroclickinfo-goodies/branches{/branch}","tags_url":"https://api.github.com/repos/sam09/zeroclickinfo-goodies/tags","blobs_url":"https://api.github.com/repos/sam09/zeroclickinfo-goodies/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sam09/zeroclickinfo-goodies/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sam09/zeroclickinfo-goodies/git/refs{/sha}","trees_url":"https://api.github.com/repos/sam09/zeroclickinfo-goodies/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sam09/zeroclickinfo-goodies/statuses/{sha}","languages_url":"https://api.github.com/repos/sam09/zeroclickinfo-goodies/languages","stargazers_url":"https://api.github.com/repos/sam09/zeroclickinfo-goodies/stargazers","contributors_url":"https://api.github.com/repos/sam09/zeroclickinfo-goodies/contributors","subscribers_url":"https://api.github.com/repos/sam09/zeroclickinfo-goodies/subscribers","subscription_url":"https://api.github.com/repos/sam09/zeroclickinfo-goodies/subscription","commits_url":"https://api.github.com/repos/sam09/zeroclickinfo-goodies/commits{/sha}","git_commits_url":"https://api.github.com/repos/sam09/zeroclickinfo-goodies/git/commits{/sha}","comments_url":"https://api.github.com/repos/sam09/zeroclickinfo-goodies/comments{/number}","issue_comment_url":"https://api.github.com/repos/sam09/zeroclickinfo-goodies/issues/comments{/number}","contents_url":"https://api.github.com/repos/sam09/zeroclickinfo-goodies/contents/{+path}","compare_url":"https://api.github.com/repos/sam09/zeroclickinfo-goodies/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sam09/zeroclickinfo-goodies/merges","archive_url":"https://api.github.com/repos/sam09/zeroclickinfo-goodies/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sam09/zeroclickinfo-goodies/downloads","issues_url":"https://api.github.com/repos/sam09/zeroclickinfo-goodies/issues{/number}","pulls_url":"https://api.github.com/repos/sam09/zeroclickinfo-goodies/pulls{/number}","milestones_url":"https://api.github.com/repos/sam09/zeroclickinfo-goodies/milestones{/number}","notifications_url":"https://api.github.com/repos/sam09/zeroclickinfo-goodies/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sam09/zeroclickinfo-goodies/labels{/name}","releases_url":"https://api.github.com/repos/sam09/zeroclickinfo-goodies/releases{/id}","deployments_url":"https://api.github.com/repos/sam09/zeroclickinfo-goodies/deployments","created_at":"2016-06-08T15:30:01Z","updated_at":"2016-06-08T15:30:07Z","pushed_at":"2016-06-25T16:16:30Z","git_url":"git://github.com/sam09/zeroclickinfo-goodies.git","ssh_url":"git@github.com:sam09/zeroclickinfo-goodies.git","clone_url":"https://github.com/sam09/zeroclickinfo-goodies.git","svn_url":"https://github.com/sam09/zeroclickinfo-goodies","homepage":"http://duckduckhack.com/","size":17107,"stargazers_count":0,"watchers_count":0,"language":"Perl","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"duckduckgo:master","ref":"master","sha":"1658b7845172605e61b23694aa1f5bb03e327ecf","user":{"login":"duckduckgo","id":342708,"avatar_url":"https://avatars.githubusercontent.com/u/342708?v=3","gravatar_id":"","url":"https://api.github.com/users/duckduckgo","html_url":"https://github.com/duckduckgo","followers_url":"https://api.github.com/users/duckduckgo/followers","following_url":"https://api.github.com/users/duckduckgo/following{/other_user}","gists_url":"https://api.github.com/users/duckduckgo/gists{/gist_id}","starred_url":"https://api.github.com/users/duckduckgo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/duckduckgo/subscriptions","organizations_url":"https://api.github.com/users/duckduckgo/orgs","repos_url":"https://api.github.com/users/duckduckgo/repos","events_url":"https://api.github.com/users/duckduckgo/events{/privacy}","received_events_url":"https://api.github.com/users/duckduckgo/received_events","type":"Organization","site_admin":false},"repo":{"id":2164979,"name":"zeroclickinfo-goodies","full_name":"duckduckgo/zeroclickinfo-goodies","owner":{"login":"duckduckgo","id":342708,"avatar_url":"https://avatars.githubusercontent.com/u/342708?v=3","gravatar_id":"","url":"https://api.github.com/users/duckduckgo","html_url":"https://github.com/duckduckgo","followers_url":"https://api.github.com/users/duckduckgo/followers","following_url":"https://api.github.com/users/duckduckgo/following{/other_user}","gists_url":"https://api.github.com/users/duckduckgo/gists{/gist_id}","starred_url":"https://api.github.com/users/duckduckgo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/duckduckgo/subscriptions","organizations_url":"https://api.github.com/users/duckduckgo/orgs","repos_url":"https://api.github.com/users/duckduckgo/repos","events_url":"https://api.github.com/users/duckduckgo/events{/privacy}","received_events_url":"https://api.github.com/users/duckduckgo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/duckduckgo/zeroclickinfo-goodies","description":"DuckDuckGo Instant Answers based on Perl & JavaScript","fork":false,"url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies","forks_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/forks","keys_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/keys{/key_id}","collaborators_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/teams","hooks_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/hooks","issue_events_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/issues/events{/number}","events_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/events","assignees_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/assignees{/user}","branches_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/branches{/branch}","tags_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/tags","blobs_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/git/refs{/sha}","trees_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/git/trees{/sha}","statuses_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/statuses/{sha}","languages_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/languages","stargazers_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/stargazers","contributors_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/contributors","subscribers_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/subscribers","subscription_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/subscription","commits_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/commits{/sha}","git_commits_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/git/commits{/sha}","comments_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/comments{/number}","issue_comment_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/issues/comments{/number}","contents_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/contents/{+path}","compare_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/compare/{base}...{head}","merges_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/merges","archive_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/downloads","issues_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/issues{/number}","pulls_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/pulls{/number}","milestones_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/milestones{/number}","notifications_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/labels{/name}","releases_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/releases{/id}","deployments_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/deployments","created_at":"2011-08-06T13:26:05Z","updated_at":"2016-06-25T11:30:59Z","pushed_at":"2016-06-25T16:20:24Z","git_url":"git://github.com/duckduckgo/zeroclickinfo-goodies.git","ssh_url":"git@github.com:duckduckgo/zeroclickinfo-goodies.git","clone_url":"https://github.com/duckduckgo/zeroclickinfo-goodies.git","svn_url":"https://github.com/duckduckgo/zeroclickinfo-goodies","homepage":"http://duckduckhack.com/","size":30953,"stargazers_count":507,"watchers_count":507,"language":"Perl","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1704,"mirror_url":null,"open_issues_count":216,"forks":1704,"open_issues":216,"watchers":507,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/pulls/3305"},"html":{"href":"https://github.com/duckduckgo/zeroclickinfo-goodies/pull/3305"},"issue":{"href":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/issues/3305"},"comments":{"href":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/issues/3305/comments"},"review_comments":{"href":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/pulls/3305/comments"},"review_comment":{"href":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/pulls/3305/commits"},"statuses":{"href":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/statuses/7c8dfe9e0cf3707c32d985149638d8a4edfb63b6"}}}}
{"actor":{"display_login":"GuiltyDolphin"}}