{"action":"created","comment":{"url":"https://api.github.com/repos/websvnphp/websvn/pulls/comments/168811494","pull_request_review_id":97245337,"id":168811494,"diff_hunk":"@@ -293,8 +293,7 @@ function datetimeFormatDuration($seconds, $nbsp = false, $skipSeconds = false) {\n \t\t// are 0 and we still want to print seconds)\n \t\tif ($any || $qty[$i] > 0 || $i == $count - 1) {\n \t\t\tif ($any) $text .= $nbsp ? '&nbsp;' : ' ';\n-\t\t\tif ($any && $qty[$i] < 10) $text .= '0';\n-\t\t\t$text .= $qty[$i].$names[$i];\n+\t\t\t$text .= $qty[$i].' '.$names[$i];","path":"include/utils.php","position":6,"original_position":6,"commit_id":"299a8dba0cceef4479c264a613e8097af4697f78","original_commit_id":"299a8dba0cceef4479c264a613e8097af4697f78","user":{"login":"tschoening","id":6223655,"avatar_url":"https://avatars1.githubusercontent.com/u/6223655?v=4","gravatar_id":"","url":"https://api.github.com/users/tschoening","html_url":"https://github.com/tschoening","followers_url":"https://api.github.com/users/tschoening/followers","following_url":"https://api.github.com/users/tschoening/following{/other_user}","gists_url":"https://api.github.com/users/tschoening/gists{/gist_id}","starred_url":"https://api.github.com/users/tschoening/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tschoening/subscriptions","organizations_url":"https://api.github.com/users/tschoening/orgs","repos_url":"https://api.github.com/users/tschoening/repos","events_url":"https://api.github.com/users/tschoening/events{/privacy}","received_events_url":"https://api.github.com/users/tschoening/received_events","type":"User","site_admin":false},"body":"If anyone has the same problems thinking of which difference this space makes, the following is from some \"last changed\" view:\r\n\r\n> Revision 363 — 252t 23h\r\n> Revision 363 — 252 t 23 h\r\n> Revision 363 — 252days 23hours\r\n> Revision 363 — 252 days 23 hours\r\n\r\nI tend to prefer to keep no space for a single letter vs. one space like is for more than a letter. :-) In doubt I'll accept as is.","created_at":"2018-02-16T16:54:56Z","updated_at":"2018-02-16T16:54:56Z","html_url":"https://github.com/websvnphp/websvn/pull/28#discussion_r168811494","pull_request_url":"https://api.github.com/repos/websvnphp/websvn/pulls/28","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/websvnphp/websvn/pulls/comments/168811494"},"html":{"href":"https://github.com/websvnphp/websvn/pull/28#discussion_r168811494"},"pull_request":{"href":"https://api.github.com/repos/websvnphp/websvn/pulls/28"}}},"pull_request":{"url":"https://api.github.com/repos/websvnphp/websvn/pulls/28","id":169659437,"html_url":"https://github.com/websvnphp/websvn/pull/28","diff_url":"https://github.com/websvnphp/websvn/pull/28.diff","patch_url":"https://github.com/websvnphp/websvn/pull/28.patch","issue_url":"https://api.github.com/repos/websvnphp/websvn/issues/28","number":28,"state":"open","locked":false,"title":"Improve output of datetimeFormatDuration","user":{"login":"michael-o","id":573017,"avatar_url":"https://avatars0.githubusercontent.com/u/573017?v=4","gravatar_id":"","url":"https://api.github.com/users/michael-o","html_url":"https://github.com/michael-o","followers_url":"https://api.github.com/users/michael-o/followers","following_url":"https://api.github.com/users/michael-o/following{/other_user}","gists_url":"https://api.github.com/users/michael-o/gists{/gist_id}","starred_url":"https://api.github.com/users/michael-o/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michael-o/subscriptions","organizations_url":"https://api.github.com/users/michael-o/orgs","repos_url":"https://api.github.com/users/michael-o/repos","events_url":"https://api.github.com/users/michael-o/events{/privacy}","received_events_url":"https://api.github.com/users/michael-o/received_events","type":"User","site_admin":false},"body":"This removes a trailing zero which makes no sense in relative dates.","created_at":"2018-02-16T15:55:58Z","updated_at":"2018-02-16T16:54:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"be84babb36e8d90235d1e52acddfa5803103fee6","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/websvnphp/websvn/pulls/28/commits","review_comments_url":"https://api.github.com/repos/websvnphp/websvn/pulls/28/comments","review_comment_url":"https://api.github.com/repos/websvnphp/websvn/pulls/comments{/number}","comments_url":"https://api.github.com/repos/websvnphp/websvn/issues/28/comments","statuses_url":"https://api.github.com/repos/websvnphp/websvn/statuses/299a8dba0cceef4479c264a613e8097af4697f78","head":{"label":"michael-o:datetime_format_duration_fix","ref":"datetime_format_duration_fix","sha":"299a8dba0cceef4479c264a613e8097af4697f78","user":{"login":"michael-o","id":573017,"avatar_url":"https://avatars0.githubusercontent.com/u/573017?v=4","gravatar_id":"","url":"https://api.github.com/users/michael-o","html_url":"https://github.com/michael-o","followers_url":"https://api.github.com/users/michael-o/followers","following_url":"https://api.github.com/users/michael-o/following{/other_user}","gists_url":"https://api.github.com/users/michael-o/gists{/gist_id}","starred_url":"https://api.github.com/users/michael-o/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michael-o/subscriptions","organizations_url":"https://api.github.com/users/michael-o/orgs","repos_url":"https://api.github.com/users/michael-o/repos","events_url":"https://api.github.com/users/michael-o/events{/privacy}","received_events_url":"https://api.github.com/users/michael-o/received_events","type":"User","site_admin":false},"repo":{"id":121635833,"name":"websvn","full_name":"michael-o/websvn","owner":{"login":"michael-o","id":573017,"avatar_url":"https://avatars0.githubusercontent.com/u/573017?v=4","gravatar_id":"","url":"https://api.github.com/users/michael-o","html_url":"https://github.com/michael-o","followers_url":"https://api.github.com/users/michael-o/followers","following_url":"https://api.github.com/users/michael-o/following{/other_user}","gists_url":"https://api.github.com/users/michael-o/gists{/gist_id}","starred_url":"https://api.github.com/users/michael-o/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michael-o/subscriptions","organizations_url":"https://api.github.com/users/michael-o/orgs","repos_url":"https://api.github.com/users/michael-o/repos","events_url":"https://api.github.com/users/michael-o/events{/privacy}","received_events_url":"https://api.github.com/users/michael-o/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/michael-o/websvn","description":"Fork from WebSVN","fork":true,"url":"https://api.github.com/repos/michael-o/websvn","forks_url":"https://api.github.com/repos/michael-o/websvn/forks","keys_url":"https://api.github.com/repos/michael-o/websvn/keys{/key_id}","collaborators_url":"https://api.github.com/repos/michael-o/websvn/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/michael-o/websvn/teams","hooks_url":"https://api.github.com/repos/michael-o/websvn/hooks","issue_events_url":"https://api.github.com/repos/michael-o/websvn/issues/events{/number}","events_url":"https://api.github.com/repos/michael-o/websvn/events","assignees_url":"https://api.github.com/repos/michael-o/websvn/assignees{/user}","branches_url":"https://api.github.com/repos/michael-o/websvn/branches{/branch}","tags_url":"https://api.github.com/repos/michael-o/websvn/tags","blobs_url":"https://api.github.com/repos/michael-o/websvn/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/michael-o/websvn/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/michael-o/websvn/git/refs{/sha}","trees_url":"https://api.github.com/repos/michael-o/websvn/git/trees{/sha}","statuses_url":"https://api.github.com/repos/michael-o/websvn/statuses/{sha}","languages_url":"https://api.github.com/repos/michael-o/websvn/languages","stargazers_url":"https://api.github.com/repos/michael-o/websvn/stargazers","contributors_url":"https://api.github.com/repos/michael-o/websvn/contributors","subscribers_url":"https://api.github.com/repos/michael-o/websvn/subscribers","subscription_url":"https://api.github.com/repos/michael-o/websvn/subscription","commits_url":"https://api.github.com/repos/michael-o/websvn/commits{/sha}","git_commits_url":"https://api.github.com/repos/michael-o/websvn/git/commits{/sha}","comments_url":"https://api.github.com/repos/michael-o/websvn/comments{/number}","issue_comment_url":"https://api.github.com/repos/michael-o/websvn/issues/comments{/number}","contents_url":"https://api.github.com/repos/michael-o/websvn/contents/{+path}","compare_url":"https://api.github.com/repos/michael-o/websvn/compare/{base}...{head}","merges_url":"https://api.github.com/repos/michael-o/websvn/merges","archive_url":"https://api.github.com/repos/michael-o/websvn/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/michael-o/websvn/downloads","issues_url":"https://api.github.com/repos/michael-o/websvn/issues{/number}","pulls_url":"https://api.github.com/repos/michael-o/websvn/pulls{/number}","milestones_url":"https://api.github.com/repos/michael-o/websvn/milestones{/number}","notifications_url":"https://api.github.com/repos/michael-o/websvn/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/michael-o/websvn/labels{/name}","releases_url":"https://api.github.com/repos/michael-o/websvn/releases{/id}","deployments_url":"https://api.github.com/repos/michael-o/websvn/deployments","created_at":"2018-02-15T13:58:00Z","updated_at":"2018-02-15T13:58:03Z","pushed_at":"2018-02-16T16:38:16Z","git_url":"git://github.com/michael-o/websvn.git","ssh_url":"git@github.com:michael-o/websvn.git","clone_url":"https://github.com/michael-o/websvn.git","svn_url":"https://github.com/michael-o/websvn","homepage":"https://websvnphp.github.io/","size":3204,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"websvnphp:master","ref":"master","sha":"8e377bb28404cc1862cbd83779c2f380210c684b","user":{"login":"websvnphp","id":31442622,"avatar_url":"https://avatars2.githubusercontent.com/u/31442622?v=4","gravatar_id":"","url":"https://api.github.com/users/websvnphp","html_url":"https://github.com/websvnphp","followers_url":"https://api.github.com/users/websvnphp/followers","following_url":"https://api.github.com/users/websvnphp/following{/other_user}","gists_url":"https://api.github.com/users/websvnphp/gists{/gist_id}","starred_url":"https://api.github.com/users/websvnphp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/websvnphp/subscriptions","organizations_url":"https://api.github.com/users/websvnphp/orgs","repos_url":"https://api.github.com/users/websvnphp/repos","events_url":"https://api.github.com/users/websvnphp/events{/privacy}","received_events_url":"https://api.github.com/users/websvnphp/received_events","type":"Organization","site_admin":false},"repo":{"id":60093953,"name":"websvn","full_name":"websvnphp/websvn","owner":{"login":"websvnphp","id":31442622,"avatar_url":"https://avatars2.githubusercontent.com/u/31442622?v=4","gravatar_id":"","url":"https://api.github.com/users/websvnphp","html_url":"https://github.com/websvnphp","followers_url":"https://api.github.com/users/websvnphp/followers","following_url":"https://api.github.com/users/websvnphp/following{/other_user}","gists_url":"https://api.github.com/users/websvnphp/gists{/gist_id}","starred_url":"https://api.github.com/users/websvnphp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/websvnphp/subscriptions","organizations_url":"https://api.github.com/users/websvnphp/orgs","repos_url":"https://api.github.com/users/websvnphp/repos","events_url":"https://api.github.com/users/websvnphp/events{/privacy}","received_events_url":"https://api.github.com/users/websvnphp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/websvnphp/websvn","description":"Fork from WebSVN","fork":false,"url":"https://api.github.com/repos/websvnphp/websvn","forks_url":"https://api.github.com/repos/websvnphp/websvn/forks","keys_url":"https://api.github.com/repos/websvnphp/websvn/keys{/key_id}","collaborators_url":"https://api.github.com/repos/websvnphp/websvn/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/websvnphp/websvn/teams","hooks_url":"https://api.github.com/repos/websvnphp/websvn/hooks","issue_events_url":"https://api.github.com/repos/websvnphp/websvn/issues/events{/number}","events_url":"https://api.github.com/repos/websvnphp/websvn/events","assignees_url":"https://api.github.com/repos/websvnphp/websvn/assignees{/user}","branches_url":"https://api.github.com/repos/websvnphp/websvn/branches{/branch}","tags_url":"https://api.github.com/repos/websvnphp/websvn/tags","blobs_url":"https://api.github.com/repos/websvnphp/websvn/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/websvnphp/websvn/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/websvnphp/websvn/git/refs{/sha}","trees_url":"https://api.github.com/repos/websvnphp/websvn/git/trees{/sha}","statuses_url":"https://api.github.com/repos/websvnphp/websvn/statuses/{sha}","languages_url":"https://api.github.com/repos/websvnphp/websvn/languages","stargazers_url":"https://api.github.com/repos/websvnphp/websvn/stargazers","contributors_url":"https://api.github.com/repos/websvnphp/websvn/contributors","subscribers_url":"https://api.github.com/repos/websvnphp/websvn/subscribers","subscription_url":"https://api.github.com/repos/websvnphp/websvn/subscription","commits_url":"https://api.github.com/repos/websvnphp/websvn/commits{/sha}","git_commits_url":"https://api.github.com/repos/websvnphp/websvn/git/commits{/sha}","comments_url":"https://api.github.com/repos/websvnphp/websvn/comments{/number}","issue_comment_url":"https://api.github.com/repos/websvnphp/websvn/issues/comments{/number}","contents_url":"https://api.github.com/repos/websvnphp/websvn/contents/{+path}","compare_url":"https://api.github.com/repos/websvnphp/websvn/compare/{base}...{head}","merges_url":"https://api.github.com/repos/websvnphp/websvn/merges","archive_url":"https://api.github.com/repos/websvnphp/websvn/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/websvnphp/websvn/downloads","issues_url":"https://api.github.com/repos/websvnphp/websvn/issues{/number}","pulls_url":"https://api.github.com/repos/websvnphp/websvn/pulls{/number}","milestones_url":"https://api.github.com/repos/websvnphp/websvn/milestones{/number}","notifications_url":"https://api.github.com/repos/websvnphp/websvn/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/websvnphp/websvn/labels{/name}","releases_url":"https://api.github.com/repos/websvnphp/websvn/releases{/id}","deployments_url":"https://api.github.com/repos/websvnphp/websvn/deployments","created_at":"2016-05-31T13:54:39Z","updated_at":"2018-02-11T07:21:02Z","pushed_at":"2018-02-16T16:38:17Z","git_url":"git://github.com/websvnphp/websvn.git","ssh_url":"git@github.com:websvnphp/websvn.git","clone_url":"https://github.com/websvnphp/websvn.git","svn_url":"https://github.com/websvnphp/websvn","homepage":"https://websvnphp.github.io/","size":3438,"stargazers_count":5,"watchers_count":5,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"archived":false,"open_issues_count":15,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0"},"forks":5,"open_issues":15,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/websvnphp/websvn/pulls/28"},"html":{"href":"https://github.com/websvnphp/websvn/pull/28"},"issue":{"href":"https://api.github.com/repos/websvnphp/websvn/issues/28"},"comments":{"href":"https://api.github.com/repos/websvnphp/websvn/issues/28/comments"},"review_comments":{"href":"https://api.github.com/repos/websvnphp/websvn/pulls/28/comments"},"review_comment":{"href":"https://api.github.com/repos/websvnphp/websvn/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/websvnphp/websvn/pulls/28/commits"},"statuses":{"href":"https://api.github.com/repos/websvnphp/websvn/statuses/299a8dba0cceef4479c264a613e8097af4697f78"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"tschoening"}}