{"action":"created","comment":{"url":"https://api.github.com/repos/google/certificate-transparency/pulls/comments/35525777","id":35525777,"diff_hunk":"@@ -1,6 +1,6 @@\n import re\n import hashlib\n-import time\n+import calendar","path":"python/ct/client/db/cert_desc.py","position":4,"original_position":4,"commit_id":"7ea0e6d35dec0c153fd5e7076c3d7c00329a1cf2","original_commit_id":"7ea0e6d35dec0c153fd5e7076c3d7c00329a1cf2","user":{"login":"phad","id":874173,"avatar_url":"https://avatars.githubusercontent.com/u/874173?v=3","gravatar_id":"","url":"https://api.github.com/users/phad","html_url":"https://github.com/phad","followers_url":"https://api.github.com/users/phad/followers","following_url":"https://api.github.com/users/phad/following{/other_user}","gists_url":"https://api.github.com/users/phad/gists{/gist_id}","starred_url":"https://api.github.com/users/phad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phad/subscriptions","organizations_url":"https://api.github.com/users/phad/orgs","repos_url":"https://api.github.com/users/phad/repos","events_url":"https://api.github.com/users/phad/events{/privacy}","received_events_url":"https://api.github.com/users/phad/received_events","type":"User","site_admin":false},"body":"Move up to sort imports (hashlib too)","created_at":"2015-07-27T11:15:17Z","updated_at":"2015-07-27T11:15:17Z","html_url":"https://github.com/google/certificate-transparency/pull/851#discussion_r35525777","pull_request_url":"https://api.github.com/repos/google/certificate-transparency/pulls/851","_links":{"self":{"href":"https://api.github.com/repos/google/certificate-transparency/pulls/comments/35525777"},"html":{"href":"https://github.com/google/certificate-transparency/pull/851#discussion_r35525777"},"pull_request":{"href":"https://api.github.com/repos/google/certificate-transparency/pulls/851"}}},"pull_request":{"url":"https://api.github.com/repos/google/certificate-transparency/pulls/851","id":40889907,"html_url":"https://github.com/google/certificate-transparency/pull/851","diff_url":"https://github.com/google/certificate-transparency/pull/851.diff","patch_url":"https://github.com/google/certificate-transparency/pull/851.patch","issue_url":"https://api.github.com/repos/google/certificate-transparency/issues/851","number":851,"state":"open","locked":false,"title":"Fixes bug in ct.client.db.cert_desc when local timezone is not UTC","user":{"login":"RJPercival","id":1949076,"avatar_url":"https://avatars.githubusercontent.com/u/1949076?v=3","gravatar_id":"","url":"https://api.github.com/users/RJPercival","html_url":"https://github.com/RJPercival","followers_url":"https://api.github.com/users/RJPercival/followers","following_url":"https://api.github.com/users/RJPercival/following{/other_user}","gists_url":"https://api.github.com/users/RJPercival/gists{/gist_id}","starred_url":"https://api.github.com/users/RJPercival/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RJPercival/subscriptions","organizations_url":"https://api.github.com/users/RJPercival/orgs","repos_url":"https://api.github.com/users/RJPercival/repos","events_url":"https://api.github.com/users/RJPercival/events{/privacy}","received_events_url":"https://api.github.com/users/RJPercival/received_events","type":"User","site_admin":false},"body":"Fixes #765. This also modifies a test to use a non-UTC timezone, which then fails without the\r\nincluded fix.","created_at":"2015-07-27T10:34:25Z","updated_at":"2015-07-27T11:15:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1d764d11b076d95c62c2fb13dd2909c562bcf6a7","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/google/certificate-transparency/pulls/851/commits","review_comments_url":"https://api.github.com/repos/google/certificate-transparency/pulls/851/comments","review_comment_url":"https://api.github.com/repos/google/certificate-transparency/pulls/comments{/number}","comments_url":"https://api.github.com/repos/google/certificate-transparency/issues/851/comments","statuses_url":"https://api.github.com/repos/google/certificate-transparency/statuses/7ea0e6d35dec0c153fd5e7076c3d7c00329a1cf2","head":{"label":"RJPercival:issue765","ref":"issue765","sha":"7ea0e6d35dec0c153fd5e7076c3d7c00329a1cf2","user":{"login":"RJPercival","id":1949076,"avatar_url":"https://avatars.githubusercontent.com/u/1949076?v=3","gravatar_id":"","url":"https://api.github.com/users/RJPercival","html_url":"https://github.com/RJPercival","followers_url":"https://api.github.com/users/RJPercival/followers","following_url":"https://api.github.com/users/RJPercival/following{/other_user}","gists_url":"https://api.github.com/users/RJPercival/gists{/gist_id}","starred_url":"https://api.github.com/users/RJPercival/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RJPercival/subscriptions","organizations_url":"https://api.github.com/users/RJPercival/orgs","repos_url":"https://api.github.com/users/RJPercival/repos","events_url":"https://api.github.com/users/RJPercival/events{/privacy}","received_events_url":"https://api.github.com/users/RJPercival/received_events","type":"User","site_admin":false},"repo":{"id":37668116,"name":"certificate-transparency","full_name":"RJPercival/certificate-transparency","owner":{"login":"RJPercival","id":1949076,"avatar_url":"https://avatars.githubusercontent.com/u/1949076?v=3","gravatar_id":"","url":"https://api.github.com/users/RJPercival","html_url":"https://github.com/RJPercival","followers_url":"https://api.github.com/users/RJPercival/followers","following_url":"https://api.github.com/users/RJPercival/following{/other_user}","gists_url":"https://api.github.com/users/RJPercival/gists{/gist_id}","starred_url":"https://api.github.com/users/RJPercival/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RJPercival/subscriptions","organizations_url":"https://api.github.com/users/RJPercival/orgs","repos_url":"https://api.github.com/users/RJPercival/repos","events_url":"https://api.github.com/users/RJPercival/events{/privacy}","received_events_url":"https://api.github.com/users/RJPercival/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/RJPercival/certificate-transparency","description":"Auditing for TLS certificates.","fork":true,"url":"https://api.github.com/repos/RJPercival/certificate-transparency","forks_url":"https://api.github.com/repos/RJPercival/certificate-transparency/forks","keys_url":"https://api.github.com/repos/RJPercival/certificate-transparency/keys{/key_id}","collaborators_url":"https://api.github.com/repos/RJPercival/certificate-transparency/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/RJPercival/certificate-transparency/teams","hooks_url":"https://api.github.com/repos/RJPercival/certificate-transparency/hooks","issue_events_url":"https://api.github.com/repos/RJPercival/certificate-transparency/issues/events{/number}","events_url":"https://api.github.com/repos/RJPercival/certificate-transparency/events","assignees_url":"https://api.github.com/repos/RJPercival/certificate-transparency/assignees{/user}","branches_url":"https://api.github.com/repos/RJPercival/certificate-transparency/branches{/branch}","tags_url":"https://api.github.com/repos/RJPercival/certificate-transparency/tags","blobs_url":"https://api.github.com/repos/RJPercival/certificate-transparency/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/RJPercival/certificate-transparency/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/RJPercival/certificate-transparency/git/refs{/sha}","trees_url":"https://api.github.com/repos/RJPercival/certificate-transparency/git/trees{/sha}","statuses_url":"https://api.github.com/repos/RJPercival/certificate-transparency/statuses/{sha}","languages_url":"https://api.github.com/repos/RJPercival/certificate-transparency/languages","stargazers_url":"https://api.github.com/repos/RJPercival/certificate-transparency/stargazers","contributors_url":"https://api.github.com/repos/RJPercival/certificate-transparency/contributors","subscribers_url":"https://api.github.com/repos/RJPercival/certificate-transparency/subscribers","subscription_url":"https://api.github.com/repos/RJPercival/certificate-transparency/subscription","commits_url":"https://api.github.com/repos/RJPercival/certificate-transparency/commits{/sha}","git_commits_url":"https://api.github.com/repos/RJPercival/certificate-transparency/git/commits{/sha}","comments_url":"https://api.github.com/repos/RJPercival/certificate-transparency/comments{/number}","issue_comment_url":"https://api.github.com/repos/RJPercival/certificate-transparency/issues/comments{/number}","contents_url":"https://api.github.com/repos/RJPercival/certificate-transparency/contents/{+path}","compare_url":"https://api.github.com/repos/RJPercival/certificate-transparency/compare/{base}...{head}","merges_url":"https://api.github.com/repos/RJPercival/certificate-transparency/merges","archive_url":"https://api.github.com/repos/RJPercival/certificate-transparency/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/RJPercival/certificate-transparency/downloads","issues_url":"https://api.github.com/repos/RJPercival/certificate-transparency/issues{/number}","pulls_url":"https://api.github.com/repos/RJPercival/certificate-transparency/pulls{/number}","milestones_url":"https://api.github.com/repos/RJPercival/certificate-transparency/milestones{/number}","notifications_url":"https://api.github.com/repos/RJPercival/certificate-transparency/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/RJPercival/certificate-transparency/labels{/name}","releases_url":"https://api.github.com/repos/RJPercival/certificate-transparency/releases{/id}","created_at":"2015-06-18T15:32:26Z","updated_at":"2015-06-18T15:32:28Z","pushed_at":"2015-07-27T10:44:25Z","git_url":"git://github.com/RJPercival/certificate-transparency.git","ssh_url":"git@github.com:RJPercival/certificate-transparency.git","clone_url":"https://github.com/RJPercival/certificate-transparency.git","svn_url":"https://github.com/RJPercival/certificate-transparency","homepage":"http://www.certificate-transparency.org/","size":19044,"stargazers_count":0,"watchers_count":0,"language":"C++","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":"google:master","ref":"master","sha":"8ba98a6501163aa2e7a68518e1b39697aabb2b64","user":{"login":"google","id":1342004,"avatar_url":"https://avatars.githubusercontent.com/u/1342004?v=3","gravatar_id":"","url":"https://api.github.com/users/google","html_url":"https://github.com/google","followers_url":"https://api.github.com/users/google/followers","following_url":"https://api.github.com/users/google/following{/other_user}","gists_url":"https://api.github.com/users/google/gists{/gist_id}","starred_url":"https://api.github.com/users/google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/google/subscriptions","organizations_url":"https://api.github.com/users/google/orgs","repos_url":"https://api.github.com/users/google/repos","events_url":"https://api.github.com/users/google/events{/privacy}","received_events_url":"https://api.github.com/users/google/received_events","type":"Organization","site_admin":false},"repo":{"id":19989605,"name":"certificate-transparency","full_name":"google/certificate-transparency","owner":{"login":"google","id":1342004,"avatar_url":"https://avatars.githubusercontent.com/u/1342004?v=3","gravatar_id":"","url":"https://api.github.com/users/google","html_url":"https://github.com/google","followers_url":"https://api.github.com/users/google/followers","following_url":"https://api.github.com/users/google/following{/other_user}","gists_url":"https://api.github.com/users/google/gists{/gist_id}","starred_url":"https://api.github.com/users/google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/google/subscriptions","organizations_url":"https://api.github.com/users/google/orgs","repos_url":"https://api.github.com/users/google/repos","events_url":"https://api.github.com/users/google/events{/privacy}","received_events_url":"https://api.github.com/users/google/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/google/certificate-transparency","description":"Auditing for TLS certificates.","fork":false,"url":"https://api.github.com/repos/google/certificate-transparency","forks_url":"https://api.github.com/repos/google/certificate-transparency/forks","keys_url":"https://api.github.com/repos/google/certificate-transparency/keys{/key_id}","collaborators_url":"https://api.github.com/repos/google/certificate-transparency/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/google/certificate-transparency/teams","hooks_url":"https://api.github.com/repos/google/certificate-transparency/hooks","issue_events_url":"https://api.github.com/repos/google/certificate-transparency/issues/events{/number}","events_url":"https://api.github.com/repos/google/certificate-transparency/events","assignees_url":"https://api.github.com/repos/google/certificate-transparency/assignees{/user}","branches_url":"https://api.github.com/repos/google/certificate-transparency/branches{/branch}","tags_url":"https://api.github.com/repos/google/certificate-transparency/tags","blobs_url":"https://api.github.com/repos/google/certificate-transparency/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/google/certificate-transparency/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/google/certificate-transparency/git/refs{/sha}","trees_url":"https://api.github.com/repos/google/certificate-transparency/git/trees{/sha}","statuses_url":"https://api.github.com/repos/google/certificate-transparency/statuses/{sha}","languages_url":"https://api.github.com/repos/google/certificate-transparency/languages","stargazers_url":"https://api.github.com/repos/google/certificate-transparency/stargazers","contributors_url":"https://api.github.com/repos/google/certificate-transparency/contributors","subscribers_url":"https://api.github.com/repos/google/certificate-transparency/subscribers","subscription_url":"https://api.github.com/repos/google/certificate-transparency/subscription","commits_url":"https://api.github.com/repos/google/certificate-transparency/commits{/sha}","git_commits_url":"https://api.github.com/repos/google/certificate-transparency/git/commits{/sha}","comments_url":"https://api.github.com/repos/google/certificate-transparency/comments{/number}","issue_comment_url":"https://api.github.com/repos/google/certificate-transparency/issues/comments{/number}","contents_url":"https://api.github.com/repos/google/certificate-transparency/contents/{+path}","compare_url":"https://api.github.com/repos/google/certificate-transparency/compare/{base}...{head}","merges_url":"https://api.github.com/repos/google/certificate-transparency/merges","archive_url":"https://api.github.com/repos/google/certificate-transparency/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/google/certificate-transparency/downloads","issues_url":"https://api.github.com/repos/google/certificate-transparency/issues{/number}","pulls_url":"https://api.github.com/repos/google/certificate-transparency/pulls{/number}","milestones_url":"https://api.github.com/repos/google/certificate-transparency/milestones{/number}","notifications_url":"https://api.github.com/repos/google/certificate-transparency/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/google/certificate-transparency/labels{/name}","releases_url":"https://api.github.com/repos/google/certificate-transparency/releases{/id}","created_at":"2014-05-20T17:03:47Z","updated_at":"2015-07-22T12:00:56Z","pushed_at":"2015-07-27T11:07:00Z","git_url":"git://github.com/google/certificate-transparency.git","ssh_url":"git@github.com:google/certificate-transparency.git","clone_url":"https://github.com/google/certificate-transparency.git","svn_url":"https://github.com/google/certificate-transparency","homepage":"http://www.certificate-transparency.org/","size":24589,"stargazers_count":145,"watchers_count":145,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":50,"mirror_url":null,"open_issues_count":49,"forks":50,"open_issues":49,"watchers":145,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/google/certificate-transparency/pulls/851"},"html":{"href":"https://github.com/google/certificate-transparency/pull/851"},"issue":{"href":"https://api.github.com/repos/google/certificate-transparency/issues/851"},"comments":{"href":"https://api.github.com/repos/google/certificate-transparency/issues/851/comments"},"review_comments":{"href":"https://api.github.com/repos/google/certificate-transparency/pulls/851/comments"},"review_comment":{"href":"https://api.github.com/repos/google/certificate-transparency/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/google/certificate-transparency/pulls/851/commits"},"statuses":{"href":"https://api.github.com/repos/google/certificate-transparency/statuses/7ea0e6d35dec0c153fd5e7076c3d7c00329a1cf2"}}}}