{"action":"opened","number":12,"pull_request":{"url":"https://api.github.com/repos/melvitax/AFDateHelper/pulls/12","id":40481624,"html_url":"https://github.com/melvitax/AFDateHelper/pull/12","diff_url":"https://github.com/melvitax/AFDateHelper/pull/12.diff","patch_url":"https://github.com/melvitax/AFDateHelper/pull/12.patch","issue_url":"https://api.github.com/repos/melvitax/AFDateHelper/issues/12","number":12,"state":"open","locked":false,"title":"Added isInPast and isInFuture methods","user":{"login":"sergigracia","id":1061658,"avatar_url":"https://avatars.githubusercontent.com/u/1061658?v=3","gravatar_id":"","url":"https://api.github.com/users/sergigracia","html_url":"https://github.com/sergigracia","followers_url":"https://api.github.com/users/sergigracia/followers","following_url":"https://api.github.com/users/sergigracia/following{/other_user}","gists_url":"https://api.github.com/users/sergigracia/gists{/gist_id}","starred_url":"https://api.github.com/users/sergigracia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sergigracia/subscriptions","organizations_url":"https://api.github.com/users/sergigracia/orgs","repos_url":"https://api.github.com/users/sergigracia/repos","events_url":"https://api.github.com/users/sergigracia/events{/privacy}","received_events_url":"https://api.github.com/users/sergigracia/received_events","type":"User","site_admin":false},"body":"Hi! It would be awesome if we can add these 2 methods to make the code more beautiful :P Sometimes we need to check if the date `isInPast` to reflect changes in the UI.\r\n\r\nVery useful library, thanks! Good job :clap: ","created_at":"2015-07-21T17:15:49Z","updated_at":"2015-07-21T17:15:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/melvitax/AFDateHelper/pulls/12/commits","review_comments_url":"https://api.github.com/repos/melvitax/AFDateHelper/pulls/12/comments","review_comment_url":"https://api.github.com/repos/melvitax/AFDateHelper/pulls/comments{/number}","comments_url":"https://api.github.com/repos/melvitax/AFDateHelper/issues/12/comments","statuses_url":"https://api.github.com/repos/melvitax/AFDateHelper/statuses/b0489c8f41e82107926ed77094682c5eab9dc215","head":{"label":"sergigracia:Swift2","ref":"Swift2","sha":"b0489c8f41e82107926ed77094682c5eab9dc215","user":{"login":"sergigracia","id":1061658,"avatar_url":"https://avatars.githubusercontent.com/u/1061658?v=3","gravatar_id":"","url":"https://api.github.com/users/sergigracia","html_url":"https://github.com/sergigracia","followers_url":"https://api.github.com/users/sergigracia/followers","following_url":"https://api.github.com/users/sergigracia/following{/other_user}","gists_url":"https://api.github.com/users/sergigracia/gists{/gist_id}","starred_url":"https://api.github.com/users/sergigracia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sergigracia/subscriptions","organizations_url":"https://api.github.com/users/sergigracia/orgs","repos_url":"https://api.github.com/users/sergigracia/repos","events_url":"https://api.github.com/users/sergigracia/events{/privacy}","received_events_url":"https://api.github.com/users/sergigracia/received_events","type":"User","site_admin":false},"repo":{"id":39458297,"name":"AFDateHelper","full_name":"sergigracia/AFDateHelper","owner":{"login":"sergigracia","id":1061658,"avatar_url":"https://avatars.githubusercontent.com/u/1061658?v=3","gravatar_id":"","url":"https://api.github.com/users/sergigracia","html_url":"https://github.com/sergigracia","followers_url":"https://api.github.com/users/sergigracia/followers","following_url":"https://api.github.com/users/sergigracia/following{/other_user}","gists_url":"https://api.github.com/users/sergigracia/gists{/gist_id}","starred_url":"https://api.github.com/users/sergigracia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sergigracia/subscriptions","organizations_url":"https://api.github.com/users/sergigracia/orgs","repos_url":"https://api.github.com/users/sergigracia/repos","events_url":"https://api.github.com/users/sergigracia/events{/privacy}","received_events_url":"https://api.github.com/users/sergigracia/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sergigracia/AFDateHelper","description":"Convenience extension for NSDate in Swift","fork":true,"url":"https://api.github.com/repos/sergigracia/AFDateHelper","forks_url":"https://api.github.com/repos/sergigracia/AFDateHelper/forks","keys_url":"https://api.github.com/repos/sergigracia/AFDateHelper/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sergigracia/AFDateHelper/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sergigracia/AFDateHelper/teams","hooks_url":"https://api.github.com/repos/sergigracia/AFDateHelper/hooks","issue_events_url":"https://api.github.com/repos/sergigracia/AFDateHelper/issues/events{/number}","events_url":"https://api.github.com/repos/sergigracia/AFDateHelper/events","assignees_url":"https://api.github.com/repos/sergigracia/AFDateHelper/assignees{/user}","branches_url":"https://api.github.com/repos/sergigracia/AFDateHelper/branches{/branch}","tags_url":"https://api.github.com/repos/sergigracia/AFDateHelper/tags","blobs_url":"https://api.github.com/repos/sergigracia/AFDateHelper/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sergigracia/AFDateHelper/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sergigracia/AFDateHelper/git/refs{/sha}","trees_url":"https://api.github.com/repos/sergigracia/AFDateHelper/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sergigracia/AFDateHelper/statuses/{sha}","languages_url":"https://api.github.com/repos/sergigracia/AFDateHelper/languages","stargazers_url":"https://api.github.com/repos/sergigracia/AFDateHelper/stargazers","contributors_url":"https://api.github.com/repos/sergigracia/AFDateHelper/contributors","subscribers_url":"https://api.github.com/repos/sergigracia/AFDateHelper/subscribers","subscription_url":"https://api.github.com/repos/sergigracia/AFDateHelper/subscription","commits_url":"https://api.github.com/repos/sergigracia/AFDateHelper/commits{/sha}","git_commits_url":"https://api.github.com/repos/sergigracia/AFDateHelper/git/commits{/sha}","comments_url":"https://api.github.com/repos/sergigracia/AFDateHelper/comments{/number}","issue_comment_url":"https://api.github.com/repos/sergigracia/AFDateHelper/issues/comments{/number}","contents_url":"https://api.github.com/repos/sergigracia/AFDateHelper/contents/{+path}","compare_url":"https://api.github.com/repos/sergigracia/AFDateHelper/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sergigracia/AFDateHelper/merges","archive_url":"https://api.github.com/repos/sergigracia/AFDateHelper/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sergigracia/AFDateHelper/downloads","issues_url":"https://api.github.com/repos/sergigracia/AFDateHelper/issues{/number}","pulls_url":"https://api.github.com/repos/sergigracia/AFDateHelper/pulls{/number}","milestones_url":"https://api.github.com/repos/sergigracia/AFDateHelper/milestones{/number}","notifications_url":"https://api.github.com/repos/sergigracia/AFDateHelper/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sergigracia/AFDateHelper/labels{/name}","releases_url":"https://api.github.com/repos/sergigracia/AFDateHelper/releases{/id}","created_at":"2015-07-21T16:55:55Z","updated_at":"2015-07-21T16:55:56Z","pushed_at":"2015-07-21T17:12:50Z","git_url":"git://github.com/sergigracia/AFDateHelper.git","ssh_url":"git@github.com:sergigracia/AFDateHelper.git","clone_url":"https://github.com/sergigracia/AFDateHelper.git","svn_url":"https://github.com/sergigracia/AFDateHelper","homepage":null,"size":442,"stargazers_count":0,"watchers_count":0,"language":"Swift","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":"melvitax:Swift2","ref":"Swift2","sha":"05fa22d8c700fbf1173f9ccea5da6fdc006fc54e","user":{"login":"melvitax","id":222133,"avatar_url":"https://avatars.githubusercontent.com/u/222133?v=3","gravatar_id":"","url":"https://api.github.com/users/melvitax","html_url":"https://github.com/melvitax","followers_url":"https://api.github.com/users/melvitax/followers","following_url":"https://api.github.com/users/melvitax/following{/other_user}","gists_url":"https://api.github.com/users/melvitax/gists{/gist_id}","starred_url":"https://api.github.com/users/melvitax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/melvitax/subscriptions","organizations_url":"https://api.github.com/users/melvitax/orgs","repos_url":"https://api.github.com/users/melvitax/repos","events_url":"https://api.github.com/users/melvitax/events{/privacy}","received_events_url":"https://api.github.com/users/melvitax/received_events","type":"User","site_admin":false},"repo":{"id":21954071,"name":"AFDateHelper","full_name":"melvitax/AFDateHelper","owner":{"login":"melvitax","id":222133,"avatar_url":"https://avatars.githubusercontent.com/u/222133?v=3","gravatar_id":"","url":"https://api.github.com/users/melvitax","html_url":"https://github.com/melvitax","followers_url":"https://api.github.com/users/melvitax/followers","following_url":"https://api.github.com/users/melvitax/following{/other_user}","gists_url":"https://api.github.com/users/melvitax/gists{/gist_id}","starred_url":"https://api.github.com/users/melvitax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/melvitax/subscriptions","organizations_url":"https://api.github.com/users/melvitax/orgs","repos_url":"https://api.github.com/users/melvitax/repos","events_url":"https://api.github.com/users/melvitax/events{/privacy}","received_events_url":"https://api.github.com/users/melvitax/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/melvitax/AFDateHelper","description":"Convenience extension for NSDate in Swift","fork":false,"url":"https://api.github.com/repos/melvitax/AFDateHelper","forks_url":"https://api.github.com/repos/melvitax/AFDateHelper/forks","keys_url":"https://api.github.com/repos/melvitax/AFDateHelper/keys{/key_id}","collaborators_url":"https://api.github.com/repos/melvitax/AFDateHelper/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/melvitax/AFDateHelper/teams","hooks_url":"https://api.github.com/repos/melvitax/AFDateHelper/hooks","issue_events_url":"https://api.github.com/repos/melvitax/AFDateHelper/issues/events{/number}","events_url":"https://api.github.com/repos/melvitax/AFDateHelper/events","assignees_url":"https://api.github.com/repos/melvitax/AFDateHelper/assignees{/user}","branches_url":"https://api.github.com/repos/melvitax/AFDateHelper/branches{/branch}","tags_url":"https://api.github.com/repos/melvitax/AFDateHelper/tags","blobs_url":"https://api.github.com/repos/melvitax/AFDateHelper/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/melvitax/AFDateHelper/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/melvitax/AFDateHelper/git/refs{/sha}","trees_url":"https://api.github.com/repos/melvitax/AFDateHelper/git/trees{/sha}","statuses_url":"https://api.github.com/repos/melvitax/AFDateHelper/statuses/{sha}","languages_url":"https://api.github.com/repos/melvitax/AFDateHelper/languages","stargazers_url":"https://api.github.com/repos/melvitax/AFDateHelper/stargazers","contributors_url":"https://api.github.com/repos/melvitax/AFDateHelper/contributors","subscribers_url":"https://api.github.com/repos/melvitax/AFDateHelper/subscribers","subscription_url":"https://api.github.com/repos/melvitax/AFDateHelper/subscription","commits_url":"https://api.github.com/repos/melvitax/AFDateHelper/commits{/sha}","git_commits_url":"https://api.github.com/repos/melvitax/AFDateHelper/git/commits{/sha}","comments_url":"https://api.github.com/repos/melvitax/AFDateHelper/comments{/number}","issue_comment_url":"https://api.github.com/repos/melvitax/AFDateHelper/issues/comments{/number}","contents_url":"https://api.github.com/repos/melvitax/AFDateHelper/contents/{+path}","compare_url":"https://api.github.com/repos/melvitax/AFDateHelper/compare/{base}...{head}","merges_url":"https://api.github.com/repos/melvitax/AFDateHelper/merges","archive_url":"https://api.github.com/repos/melvitax/AFDateHelper/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/melvitax/AFDateHelper/downloads","issues_url":"https://api.github.com/repos/melvitax/AFDateHelper/issues{/number}","pulls_url":"https://api.github.com/repos/melvitax/AFDateHelper/pulls{/number}","milestones_url":"https://api.github.com/repos/melvitax/AFDateHelper/milestones{/number}","notifications_url":"https://api.github.com/repos/melvitax/AFDateHelper/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/melvitax/AFDateHelper/labels{/name}","releases_url":"https://api.github.com/repos/melvitax/AFDateHelper/releases{/id}","created_at":"2014-07-17T19:05:22Z","updated_at":"2015-07-21T08:41:18Z","pushed_at":"2015-07-17T03:33:51Z","git_url":"git://github.com/melvitax/AFDateHelper.git","ssh_url":"git@github.com:melvitax/AFDateHelper.git","clone_url":"https://github.com/melvitax/AFDateHelper.git","svn_url":"https://github.com/melvitax/AFDateHelper","homepage":null,"size":442,"stargazers_count":381,"watchers_count":381,"language":"Swift","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":33,"mirror_url":null,"open_issues_count":1,"forks":33,"open_issues":1,"watchers":381,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/melvitax/AFDateHelper/pulls/12"},"html":{"href":"https://github.com/melvitax/AFDateHelper/pull/12"},"issue":{"href":"https://api.github.com/repos/melvitax/AFDateHelper/issues/12"},"comments":{"href":"https://api.github.com/repos/melvitax/AFDateHelper/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/melvitax/AFDateHelper/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/melvitax/AFDateHelper/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/melvitax/AFDateHelper/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/melvitax/AFDateHelper/statuses/b0489c8f41e82107926ed77094682c5eab9dc215"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":20,"deletions":0,"changed_files":1}}