{"action":"created","comment":{"url":"https://api.github.com/repos/pbrisbin/friendly-time/pulls/comments/128543605","pull_request_review_id":51234063,"id":128543605,"diff_hunk":"@@ -143,3 +143,5 @@ humanReadableTimeI18N' (HumanTimeLocale {..}) cur t = helper $ diffUTCTime cur t\n             | weeks d   < 5  = weeksAgo future $ i2s (weeks d)\n             | years d   < 1  = onYear thisYear\n             | otherwise      = onYear previousYears\n+\n+","path":"src/Data/Time/Format/Human.hs","position":21,"original_position":21,"commit_id":"83465bf527a98b9d6df85b96e01e9b27a169c9e9","original_commit_id":"83465bf527a98b9d6df85b96e01e9b27a169c9e9","user":{"login":"pbrisbin","id":50812,"avatar_url":"https://avatars3.githubusercontent.com/u/50812?v=4","gravatar_id":"","url":"https://api.github.com/users/pbrisbin","html_url":"https://github.com/pbrisbin","followers_url":"https://api.github.com/users/pbrisbin/followers","following_url":"https://api.github.com/users/pbrisbin/following{/other_user}","gists_url":"https://api.github.com/users/pbrisbin/gists{/gist_id}","starred_url":"https://api.github.com/users/pbrisbin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pbrisbin/subscriptions","organizations_url":"https://api.github.com/users/pbrisbin/orgs","repos_url":"https://api.github.com/users/pbrisbin/repos","events_url":"https://api.github.com/users/pbrisbin/events{/privacy}","received_events_url":"https://api.github.com/users/pbrisbin/received_events","type":"User","site_admin":false},"body":"Can you revert the whitespace changes in this file?","created_at":"2017-07-20T15:10:24Z","updated_at":"2017-07-20T15:10:44Z","html_url":"https://github.com/pbrisbin/friendly-time/pull/14#discussion_r128543605","pull_request_url":"https://api.github.com/repos/pbrisbin/friendly-time/pulls/14","_links":{"self":{"href":"https://api.github.com/repos/pbrisbin/friendly-time/pulls/comments/128543605"},"html":{"href":"https://github.com/pbrisbin/friendly-time/pull/14#discussion_r128543605"},"pull_request":{"href":"https://api.github.com/repos/pbrisbin/friendly-time/pulls/14"}}},"pull_request":{"url":"https://api.github.com/repos/pbrisbin/friendly-time/pulls/14","id":111876127,"html_url":"https://github.com/pbrisbin/friendly-time/pull/14","diff_url":"https://github.com/pbrisbin/friendly-time/pull/14.diff","patch_url":"https://github.com/pbrisbin/friendly-time/pull/14.patch","issue_url":"https://api.github.com/repos/pbrisbin/friendly-time/issues/14","number":14,"state":"open","locked":false,"title":"Add default Spanish human time locale","user":{"login":"alx741","id":2545720,"avatar_url":"https://avatars3.githubusercontent.com/u/2545720?v=4","gravatar_id":"","url":"https://api.github.com/users/alx741","html_url":"https://github.com/alx741","followers_url":"https://api.github.com/users/alx741/followers","following_url":"https://api.github.com/users/alx741/following{/other_user}","gists_url":"https://api.github.com/users/alx741/gists{/gist_id}","starred_url":"https://api.github.com/users/alx741/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alx741/subscriptions","organizations_url":"https://api.github.com/users/alx741/orgs","repos_url":"https://api.github.com/users/alx741/repos","events_url":"https://api.github.com/users/alx741/events{/privacy}","received_events_url":"https://api.github.com/users/alx741/received_events","type":"User","site_admin":false},"body":"Not sure if adding default time locales for various languages is the right way to go, but the Yesod web framework seems to include them, and it's actually nice to have when i18n is required.\r\n\r\nThe idea is to include a couple of languages out of the box, if this PR is useful, other contributors may implement defaults for other languages as well hopefully.\r\n\r\nIf this is however not kind of stuff the package aims to provide, please feel free to dismiss this PR.\r\n\r\npd: I'm a native Spanish speaker so i'm sure this default makes sense (already tried it)","created_at":"2017-03-21T20:50:15Z","updated_at":"2017-07-20T15:10:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"19cb5a49eccba236da40ccb4071534c4745ea8c0","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/pbrisbin/friendly-time/pulls/14/commits","review_comments_url":"https://api.github.com/repos/pbrisbin/friendly-time/pulls/14/comments","review_comment_url":"https://api.github.com/repos/pbrisbin/friendly-time/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pbrisbin/friendly-time/issues/14/comments","statuses_url":"https://api.github.com/repos/pbrisbin/friendly-time/statuses/83465bf527a98b9d6df85b96e01e9b27a169c9e9","head":{"label":"alx741:spanish","ref":"spanish","sha":"83465bf527a98b9d6df85b96e01e9b27a169c9e9","user":{"login":"alx741","id":2545720,"avatar_url":"https://avatars3.githubusercontent.com/u/2545720?v=4","gravatar_id":"","url":"https://api.github.com/users/alx741","html_url":"https://github.com/alx741","followers_url":"https://api.github.com/users/alx741/followers","following_url":"https://api.github.com/users/alx741/following{/other_user}","gists_url":"https://api.github.com/users/alx741/gists{/gist_id}","starred_url":"https://api.github.com/users/alx741/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alx741/subscriptions","organizations_url":"https://api.github.com/users/alx741/orgs","repos_url":"https://api.github.com/users/alx741/repos","events_url":"https://api.github.com/users/alx741/events{/privacy}","received_events_url":"https://api.github.com/users/alx741/received_events","type":"User","site_admin":false},"repo":{"id":85748891,"name":"friendly-time","full_name":"alx741/friendly-time","owner":{"login":"alx741","id":2545720,"avatar_url":"https://avatars3.githubusercontent.com/u/2545720?v=4","gravatar_id":"","url":"https://api.github.com/users/alx741","html_url":"https://github.com/alx741","followers_url":"https://api.github.com/users/alx741/followers","following_url":"https://api.github.com/users/alx741/following{/other_user}","gists_url":"https://api.github.com/users/alx741/gists{/gist_id}","starred_url":"https://api.github.com/users/alx741/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alx741/subscriptions","organizations_url":"https://api.github.com/users/alx741/orgs","repos_url":"https://api.github.com/users/alx741/repos","events_url":"https://api.github.com/users/alx741/events{/privacy}","received_events_url":"https://api.github.com/users/alx741/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/alx741/friendly-time","description":"Display time values in a friendly way","fork":true,"url":"https://api.github.com/repos/alx741/friendly-time","forks_url":"https://api.github.com/repos/alx741/friendly-time/forks","keys_url":"https://api.github.com/repos/alx741/friendly-time/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alx741/friendly-time/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alx741/friendly-time/teams","hooks_url":"https://api.github.com/repos/alx741/friendly-time/hooks","issue_events_url":"https://api.github.com/repos/alx741/friendly-time/issues/events{/number}","events_url":"https://api.github.com/repos/alx741/friendly-time/events","assignees_url":"https://api.github.com/repos/alx741/friendly-time/assignees{/user}","branches_url":"https://api.github.com/repos/alx741/friendly-time/branches{/branch}","tags_url":"https://api.github.com/repos/alx741/friendly-time/tags","blobs_url":"https://api.github.com/repos/alx741/friendly-time/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alx741/friendly-time/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alx741/friendly-time/git/refs{/sha}","trees_url":"https://api.github.com/repos/alx741/friendly-time/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alx741/friendly-time/statuses/{sha}","languages_url":"https://api.github.com/repos/alx741/friendly-time/languages","stargazers_url":"https://api.github.com/repos/alx741/friendly-time/stargazers","contributors_url":"https://api.github.com/repos/alx741/friendly-time/contributors","subscribers_url":"https://api.github.com/repos/alx741/friendly-time/subscribers","subscription_url":"https://api.github.com/repos/alx741/friendly-time/subscription","commits_url":"https://api.github.com/repos/alx741/friendly-time/commits{/sha}","git_commits_url":"https://api.github.com/repos/alx741/friendly-time/git/commits{/sha}","comments_url":"https://api.github.com/repos/alx741/friendly-time/comments{/number}","issue_comment_url":"https://api.github.com/repos/alx741/friendly-time/issues/comments{/number}","contents_url":"https://api.github.com/repos/alx741/friendly-time/contents/{+path}","compare_url":"https://api.github.com/repos/alx741/friendly-time/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alx741/friendly-time/merges","archive_url":"https://api.github.com/repos/alx741/friendly-time/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alx741/friendly-time/downloads","issues_url":"https://api.github.com/repos/alx741/friendly-time/issues{/number}","pulls_url":"https://api.github.com/repos/alx741/friendly-time/pulls{/number}","milestones_url":"https://api.github.com/repos/alx741/friendly-time/milestones{/number}","notifications_url":"https://api.github.com/repos/alx741/friendly-time/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alx741/friendly-time/labels{/name}","releases_url":"https://api.github.com/repos/alx741/friendly-time/releases{/id}","deployments_url":"https://api.github.com/repos/alx741/friendly-time/deployments","created_at":"2017-03-21T20:15:35Z","updated_at":"2017-03-21T20:15:37Z","pushed_at":"2017-07-19T01:49:37Z","git_url":"git://github.com/alx741/friendly-time.git","ssh_url":"git@github.com:alx741/friendly-time.git","clone_url":"https://github.com/alx741/friendly-time.git","svn_url":"https://github.com/alx741/friendly-time","homepage":"","size":53,"stargazers_count":0,"watchers_count":0,"language":"Haskell","has_issues":false,"has_projects":true,"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":"pbrisbin:master","ref":"master","sha":"cdca083c1a07b758a95bd81b5eff8f448d8aa3bb","user":{"login":"pbrisbin","id":50812,"avatar_url":"https://avatars3.githubusercontent.com/u/50812?v=4","gravatar_id":"","url":"https://api.github.com/users/pbrisbin","html_url":"https://github.com/pbrisbin","followers_url":"https://api.github.com/users/pbrisbin/followers","following_url":"https://api.github.com/users/pbrisbin/following{/other_user}","gists_url":"https://api.github.com/users/pbrisbin/gists{/gist_id}","starred_url":"https://api.github.com/users/pbrisbin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pbrisbin/subscriptions","organizations_url":"https://api.github.com/users/pbrisbin/orgs","repos_url":"https://api.github.com/users/pbrisbin/repos","events_url":"https://api.github.com/users/pbrisbin/events{/privacy}","received_events_url":"https://api.github.com/users/pbrisbin/received_events","type":"User","site_admin":false},"repo":{"id":4011193,"name":"friendly-time","full_name":"pbrisbin/friendly-time","owner":{"login":"pbrisbin","id":50812,"avatar_url":"https://avatars3.githubusercontent.com/u/50812?v=4","gravatar_id":"","url":"https://api.github.com/users/pbrisbin","html_url":"https://github.com/pbrisbin","followers_url":"https://api.github.com/users/pbrisbin/followers","following_url":"https://api.github.com/users/pbrisbin/following{/other_user}","gists_url":"https://api.github.com/users/pbrisbin/gists{/gist_id}","starred_url":"https://api.github.com/users/pbrisbin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pbrisbin/subscriptions","organizations_url":"https://api.github.com/users/pbrisbin/orgs","repos_url":"https://api.github.com/users/pbrisbin/repos","events_url":"https://api.github.com/users/pbrisbin/events{/privacy}","received_events_url":"https://api.github.com/users/pbrisbin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pbrisbin/friendly-time","description":"Display time values in a friendly way","fork":false,"url":"https://api.github.com/repos/pbrisbin/friendly-time","forks_url":"https://api.github.com/repos/pbrisbin/friendly-time/forks","keys_url":"https://api.github.com/repos/pbrisbin/friendly-time/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pbrisbin/friendly-time/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pbrisbin/friendly-time/teams","hooks_url":"https://api.github.com/repos/pbrisbin/friendly-time/hooks","issue_events_url":"https://api.github.com/repos/pbrisbin/friendly-time/issues/events{/number}","events_url":"https://api.github.com/repos/pbrisbin/friendly-time/events","assignees_url":"https://api.github.com/repos/pbrisbin/friendly-time/assignees{/user}","branches_url":"https://api.github.com/repos/pbrisbin/friendly-time/branches{/branch}","tags_url":"https://api.github.com/repos/pbrisbin/friendly-time/tags","blobs_url":"https://api.github.com/repos/pbrisbin/friendly-time/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pbrisbin/friendly-time/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pbrisbin/friendly-time/git/refs{/sha}","trees_url":"https://api.github.com/repos/pbrisbin/friendly-time/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pbrisbin/friendly-time/statuses/{sha}","languages_url":"https://api.github.com/repos/pbrisbin/friendly-time/languages","stargazers_url":"https://api.github.com/repos/pbrisbin/friendly-time/stargazers","contributors_url":"https://api.github.com/repos/pbrisbin/friendly-time/contributors","subscribers_url":"https://api.github.com/repos/pbrisbin/friendly-time/subscribers","subscription_url":"https://api.github.com/repos/pbrisbin/friendly-time/subscription","commits_url":"https://api.github.com/repos/pbrisbin/friendly-time/commits{/sha}","git_commits_url":"https://api.github.com/repos/pbrisbin/friendly-time/git/commits{/sha}","comments_url":"https://api.github.com/repos/pbrisbin/friendly-time/comments{/number}","issue_comment_url":"https://api.github.com/repos/pbrisbin/friendly-time/issues/comments{/number}","contents_url":"https://api.github.com/repos/pbrisbin/friendly-time/contents/{+path}","compare_url":"https://api.github.com/repos/pbrisbin/friendly-time/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pbrisbin/friendly-time/merges","archive_url":"https://api.github.com/repos/pbrisbin/friendly-time/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pbrisbin/friendly-time/downloads","issues_url":"https://api.github.com/repos/pbrisbin/friendly-time/issues{/number}","pulls_url":"https://api.github.com/repos/pbrisbin/friendly-time/pulls{/number}","milestones_url":"https://api.github.com/repos/pbrisbin/friendly-time/milestones{/number}","notifications_url":"https://api.github.com/repos/pbrisbin/friendly-time/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pbrisbin/friendly-time/labels{/name}","releases_url":"https://api.github.com/repos/pbrisbin/friendly-time/releases{/id}","deployments_url":"https://api.github.com/repos/pbrisbin/friendly-time/deployments","created_at":"2012-04-13T01:29:39Z","updated_at":"2017-03-21T20:15:23Z","pushed_at":"2017-07-19T01:49:38Z","git_url":"git://github.com/pbrisbin/friendly-time.git","ssh_url":"git@github.com:pbrisbin/friendly-time.git","clone_url":"https://github.com/pbrisbin/friendly-time.git","svn_url":"https://github.com/pbrisbin/friendly-time","homepage":"","size":50,"stargazers_count":12,"watchers_count":12,"language":"Haskell","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":1,"forks":8,"open_issues":1,"watchers":12,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pbrisbin/friendly-time/pulls/14"},"html":{"href":"https://github.com/pbrisbin/friendly-time/pull/14"},"issue":{"href":"https://api.github.com/repos/pbrisbin/friendly-time/issues/14"},"comments":{"href":"https://api.github.com/repos/pbrisbin/friendly-time/issues/14/comments"},"review_comments":{"href":"https://api.github.com/repos/pbrisbin/friendly-time/pulls/14/comments"},"review_comment":{"href":"https://api.github.com/repos/pbrisbin/friendly-time/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pbrisbin/friendly-time/pulls/14/commits"},"statuses":{"href":"https://api.github.com/repos/pbrisbin/friendly-time/statuses/83465bf527a98b9d6df85b96e01e9b27a169c9e9"}}}}
{"actor":{"display_login":"pbrisbin"}}