{"action":"closed","number":1395,"pull_request":{"url":"https://api.github.com/repos/monitoring-plugins/monitoring-plugins/pulls/1395","id":51611866,"html_url":"https://github.com/monitoring-plugins/monitoring-plugins/pull/1395","diff_url":"https://github.com/monitoring-plugins/monitoring-plugins/pull/1395.diff","patch_url":"https://github.com/monitoring-plugins/monitoring-plugins/pull/1395.patch","issue_url":"https://api.github.com/repos/monitoring-plugins/monitoring-plugins/issues/1395","number":1395,"state":"closed","locked":false,"title":"Use GMT timezone in SSL certs","user":{"login":"pirtoo","id":1076630,"avatar_url":"https://avatars.githubusercontent.com/u/1076630?v=3","gravatar_id":"","url":"https://api.github.com/users/pirtoo","html_url":"https://github.com/pirtoo","followers_url":"https://api.github.com/users/pirtoo/followers","following_url":"https://api.github.com/users/pirtoo/following{/other_user}","gists_url":"https://api.github.com/users/pirtoo/gists{/gist_id}","starred_url":"https://api.github.com/users/pirtoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pirtoo/subscriptions","organizations_url":"https://api.github.com/users/pirtoo/orgs","repos_url":"https://api.github.com/users/pirtoo/repos","events_url":"https://api.github.com/users/pirtoo/events{/privacy}","received_events_url":"https://api.github.com/users/pirtoo/received_events","type":"User","site_admin":false},"body":"SSL certs are required to use times in GMT per\nhttps://www.ietf.org/rfc/rfc5280.txt but the mktime() here assumes the\ncurrent timezone.\n\nFix the time_t conversion to be done assuming GMT with timegm() and\nonly do it once rather than twice.\n\nDisplay the expiry date and time with ISO format years and give an\noffset from GMT and a timezone to be very clear about exactly what time\nis being displayed. Time given is correct and now in the machine’s\ntimezone.","created_at":"2015-11-24T03:05:49Z","updated_at":"2015-11-24T03:44:39Z","closed_at":"2015-11-24T03:44:39Z","merged_at":null,"merge_commit_sha":"12ca6dd5555e63b719509077cd023c9f5bded17d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/monitoring-plugins/monitoring-plugins/pulls/1395/commits","review_comments_url":"https://api.github.com/repos/monitoring-plugins/monitoring-plugins/pulls/1395/comments","review_comment_url":"https://api.github.com/repos/monitoring-plugins/monitoring-plugins/pulls/comments{/number}","comments_url":"https://api.github.com/repos/monitoring-plugins/monitoring-plugins/issues/1395/comments","statuses_url":"https://api.github.com/repos/monitoring-plugins/monitoring-plugins/statuses/d9f6c8932d4fc704d559dcfba88be4fd95126453","head":{"label":"pirtoo:master","ref":"master","sha":"d9f6c8932d4fc704d559dcfba88be4fd95126453","user":{"login":"pirtoo","id":1076630,"avatar_url":"https://avatars.githubusercontent.com/u/1076630?v=3","gravatar_id":"","url":"https://api.github.com/users/pirtoo","html_url":"https://github.com/pirtoo","followers_url":"https://api.github.com/users/pirtoo/followers","following_url":"https://api.github.com/users/pirtoo/following{/other_user}","gists_url":"https://api.github.com/users/pirtoo/gists{/gist_id}","starred_url":"https://api.github.com/users/pirtoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pirtoo/subscriptions","organizations_url":"https://api.github.com/users/pirtoo/orgs","repos_url":"https://api.github.com/users/pirtoo/repos","events_url":"https://api.github.com/users/pirtoo/events{/privacy}","received_events_url":"https://api.github.com/users/pirtoo/received_events","type":"User","site_admin":false},"repo":{"id":46762467,"name":"monitoring-plugins","full_name":"pirtoo/monitoring-plugins","owner":{"login":"pirtoo","id":1076630,"avatar_url":"https://avatars.githubusercontent.com/u/1076630?v=3","gravatar_id":"","url":"https://api.github.com/users/pirtoo","html_url":"https://github.com/pirtoo","followers_url":"https://api.github.com/users/pirtoo/followers","following_url":"https://api.github.com/users/pirtoo/following{/other_user}","gists_url":"https://api.github.com/users/pirtoo/gists{/gist_id}","starred_url":"https://api.github.com/users/pirtoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pirtoo/subscriptions","organizations_url":"https://api.github.com/users/pirtoo/orgs","repos_url":"https://api.github.com/users/pirtoo/repos","events_url":"https://api.github.com/users/pirtoo/events{/privacy}","received_events_url":"https://api.github.com/users/pirtoo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pirtoo/monitoring-plugins","description":"Monitoring Plugins","fork":true,"url":"https://api.github.com/repos/pirtoo/monitoring-plugins","forks_url":"https://api.github.com/repos/pirtoo/monitoring-plugins/forks","keys_url":"https://api.github.com/repos/pirtoo/monitoring-plugins/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pirtoo/monitoring-plugins/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pirtoo/monitoring-plugins/teams","hooks_url":"https://api.github.com/repos/pirtoo/monitoring-plugins/hooks","issue_events_url":"https://api.github.com/repos/pirtoo/monitoring-plugins/issues/events{/number}","events_url":"https://api.github.com/repos/pirtoo/monitoring-plugins/events","assignees_url":"https://api.github.com/repos/pirtoo/monitoring-plugins/assignees{/user}","branches_url":"https://api.github.com/repos/pirtoo/monitoring-plugins/branches{/branch}","tags_url":"https://api.github.com/repos/pirtoo/monitoring-plugins/tags","blobs_url":"https://api.github.com/repos/pirtoo/monitoring-plugins/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pirtoo/monitoring-plugins/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pirtoo/monitoring-plugins/git/refs{/sha}","trees_url":"https://api.github.com/repos/pirtoo/monitoring-plugins/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pirtoo/monitoring-plugins/statuses/{sha}","languages_url":"https://api.github.com/repos/pirtoo/monitoring-plugins/languages","stargazers_url":"https://api.github.com/repos/pirtoo/monitoring-plugins/stargazers","contributors_url":"https://api.github.com/repos/pirtoo/monitoring-plugins/contributors","subscribers_url":"https://api.github.com/repos/pirtoo/monitoring-plugins/subscribers","subscription_url":"https://api.github.com/repos/pirtoo/monitoring-plugins/subscription","commits_url":"https://api.github.com/repos/pirtoo/monitoring-plugins/commits{/sha}","git_commits_url":"https://api.github.com/repos/pirtoo/monitoring-plugins/git/commits{/sha}","comments_url":"https://api.github.com/repos/pirtoo/monitoring-plugins/comments{/number}","issue_comment_url":"https://api.github.com/repos/pirtoo/monitoring-plugins/issues/comments{/number}","contents_url":"https://api.github.com/repos/pirtoo/monitoring-plugins/contents/{+path}","compare_url":"https://api.github.com/repos/pirtoo/monitoring-plugins/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pirtoo/monitoring-plugins/merges","archive_url":"https://api.github.com/repos/pirtoo/monitoring-plugins/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pirtoo/monitoring-plugins/downloads","issues_url":"https://api.github.com/repos/pirtoo/monitoring-plugins/issues{/number}","pulls_url":"https://api.github.com/repos/pirtoo/monitoring-plugins/pulls{/number}","milestones_url":"https://api.github.com/repos/pirtoo/monitoring-plugins/milestones{/number}","notifications_url":"https://api.github.com/repos/pirtoo/monitoring-plugins/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pirtoo/monitoring-plugins/labels{/name}","releases_url":"https://api.github.com/repos/pirtoo/monitoring-plugins/releases{/id}","created_at":"2015-11-24T02:43:11Z","updated_at":"2015-11-24T02:43:16Z","pushed_at":"2015-11-24T03:04:23Z","git_url":"git://github.com/pirtoo/monitoring-plugins.git","ssh_url":"git@github.com:pirtoo/monitoring-plugins.git","clone_url":"https://github.com/pirtoo/monitoring-plugins.git","svn_url":"https://github.com/pirtoo/monitoring-plugins","homepage":"https://www.monitoring-plugins.org","size":11982,"stargazers_count":0,"watchers_count":0,"language":"C","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":"monitoring-plugins:master","ref":"master","sha":"ac380fd243e4eb7f0b1ace06dbdc276a3a13a9bb","user":{"login":"monitoring-plugins","id":1182065,"avatar_url":"https://avatars.githubusercontent.com/u/1182065?v=3","gravatar_id":"","url":"https://api.github.com/users/monitoring-plugins","html_url":"https://github.com/monitoring-plugins","followers_url":"https://api.github.com/users/monitoring-plugins/followers","following_url":"https://api.github.com/users/monitoring-plugins/following{/other_user}","gists_url":"https://api.github.com/users/monitoring-plugins/gists{/gist_id}","starred_url":"https://api.github.com/users/monitoring-plugins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monitoring-plugins/subscriptions","organizations_url":"https://api.github.com/users/monitoring-plugins/orgs","repos_url":"https://api.github.com/users/monitoring-plugins/repos","events_url":"https://api.github.com/users/monitoring-plugins/events{/privacy}","received_events_url":"https://api.github.com/users/monitoring-plugins/received_events","type":"Organization","site_admin":false},"repo":{"id":2737998,"name":"monitoring-plugins","full_name":"monitoring-plugins/monitoring-plugins","owner":{"login":"monitoring-plugins","id":1182065,"avatar_url":"https://avatars.githubusercontent.com/u/1182065?v=3","gravatar_id":"","url":"https://api.github.com/users/monitoring-plugins","html_url":"https://github.com/monitoring-plugins","followers_url":"https://api.github.com/users/monitoring-plugins/followers","following_url":"https://api.github.com/users/monitoring-plugins/following{/other_user}","gists_url":"https://api.github.com/users/monitoring-plugins/gists{/gist_id}","starred_url":"https://api.github.com/users/monitoring-plugins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monitoring-plugins/subscriptions","organizations_url":"https://api.github.com/users/monitoring-plugins/orgs","repos_url":"https://api.github.com/users/monitoring-plugins/repos","events_url":"https://api.github.com/users/monitoring-plugins/events{/privacy}","received_events_url":"https://api.github.com/users/monitoring-plugins/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/monitoring-plugins/monitoring-plugins","description":"Monitoring Plugins","fork":false,"url":"https://api.github.com/repos/monitoring-plugins/monitoring-plugins","forks_url":"https://api.github.com/repos/monitoring-plugins/monitoring-plugins/forks","keys_url":"https://api.github.com/repos/monitoring-plugins/monitoring-plugins/keys{/key_id}","collaborators_url":"https://api.github.com/repos/monitoring-plugins/monitoring-plugins/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/monitoring-plugins/monitoring-plugins/teams","hooks_url":"https://api.github.com/repos/monitoring-plugins/monitoring-plugins/hooks","issue_events_url":"https://api.github.com/repos/monitoring-plugins/monitoring-plugins/issues/events{/number}","events_url":"https://api.github.com/repos/monitoring-plugins/monitoring-plugins/events","assignees_url":"https://api.github.com/repos/monitoring-plugins/monitoring-plugins/assignees{/user}","branches_url":"https://api.github.com/repos/monitoring-plugins/monitoring-plugins/branches{/branch}","tags_url":"https://api.github.com/repos/monitoring-plugins/monitoring-plugins/tags","blobs_url":"https://api.github.com/repos/monitoring-plugins/monitoring-plugins/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/monitoring-plugins/monitoring-plugins/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/monitoring-plugins/monitoring-plugins/git/refs{/sha}","trees_url":"https://api.github.com/repos/monitoring-plugins/monitoring-plugins/git/trees{/sha}","statuses_url":"https://api.github.com/repos/monitoring-plugins/monitoring-plugins/statuses/{sha}","languages_url":"https://api.github.com/repos/monitoring-plugins/monitoring-plugins/languages","stargazers_url":"https://api.github.com/repos/monitoring-plugins/monitoring-plugins/stargazers","contributors_url":"https://api.github.com/repos/monitoring-plugins/monitoring-plugins/contributors","subscribers_url":"https://api.github.com/repos/monitoring-plugins/monitoring-plugins/subscribers","subscription_url":"https://api.github.com/repos/monitoring-plugins/monitoring-plugins/subscription","commits_url":"https://api.github.com/repos/monitoring-plugins/monitoring-plugins/commits{/sha}","git_commits_url":"https://api.github.com/repos/monitoring-plugins/monitoring-plugins/git/commits{/sha}","comments_url":"https://api.github.com/repos/monitoring-plugins/monitoring-plugins/comments{/number}","issue_comment_url":"https://api.github.com/repos/monitoring-plugins/monitoring-plugins/issues/comments{/number}","contents_url":"https://api.github.com/repos/monitoring-plugins/monitoring-plugins/contents/{+path}","compare_url":"https://api.github.com/repos/monitoring-plugins/monitoring-plugins/compare/{base}...{head}","merges_url":"https://api.github.com/repos/monitoring-plugins/monitoring-plugins/merges","archive_url":"https://api.github.com/repos/monitoring-plugins/monitoring-plugins/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/monitoring-plugins/monitoring-plugins/downloads","issues_url":"https://api.github.com/repos/monitoring-plugins/monitoring-plugins/issues{/number}","pulls_url":"https://api.github.com/repos/monitoring-plugins/monitoring-plugins/pulls{/number}","milestones_url":"https://api.github.com/repos/monitoring-plugins/monitoring-plugins/milestones{/number}","notifications_url":"https://api.github.com/repos/monitoring-plugins/monitoring-plugins/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/monitoring-plugins/monitoring-plugins/labels{/name}","releases_url":"https://api.github.com/repos/monitoring-plugins/monitoring-plugins/releases{/id}","created_at":"2011-11-08T23:13:33Z","updated_at":"2015-11-19T08:10:27Z","pushed_at":"2015-11-24T03:05:49Z","git_url":"git://github.com/monitoring-plugins/monitoring-plugins.git","ssh_url":"git@github.com:monitoring-plugins/monitoring-plugins.git","clone_url":"https://github.com/monitoring-plugins/monitoring-plugins.git","svn_url":"https://github.com/monitoring-plugins/monitoring-plugins","homepage":"https://www.monitoring-plugins.org","size":18640,"stargazers_count":212,"watchers_count":212,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":136,"mirror_url":null,"open_issues_count":239,"forks":136,"open_issues":239,"watchers":212,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/monitoring-plugins/monitoring-plugins/pulls/1395"},"html":{"href":"https://github.com/monitoring-plugins/monitoring-plugins/pull/1395"},"issue":{"href":"https://api.github.com/repos/monitoring-plugins/monitoring-plugins/issues/1395"},"comments":{"href":"https://api.github.com/repos/monitoring-plugins/monitoring-plugins/issues/1395/comments"},"review_comments":{"href":"https://api.github.com/repos/monitoring-plugins/monitoring-plugins/pulls/1395/comments"},"review_comment":{"href":"https://api.github.com/repos/monitoring-plugins/monitoring-plugins/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/monitoring-plugins/monitoring-plugins/pulls/1395/commits"},"statuses":{"href":"https://api.github.com/repos/monitoring-plugins/monitoring-plugins/statuses/d9f6c8932d4fc704d559dcfba88be4fd95126453"}},"merged":false,"mergeable":true,"mergeable_state":"unstable","merged_by":null,"comments":1,"review_comments":0,"commits":1,"additions":3,"deletions":3,"changed_files":1}}