{"action":"closed","number":5,"pull_request":{"url":"https://api.github.com/repos/xanmanning/alarm-fake-hwclock/pulls/5","id":97413853,"html_url":"https://github.com/xanmanning/alarm-fake-hwclock/pull/5","diff_url":"https://github.com/xanmanning/alarm-fake-hwclock/pull/5.diff","patch_url":"https://github.com/xanmanning/alarm-fake-hwclock/pull/5.patch","issue_url":"https://api.github.com/repos/xanmanning/alarm-fake-hwclock/issues/5","number":5,"state":"closed","locked":false,"title":"Added maximum time difference on trusting clock","user":{"login":"ludocode","id":278471,"avatar_url":"https://avatars.githubusercontent.com/u/278471?v=3","gravatar_id":"","url":"https://api.github.com/users/ludocode","html_url":"https://github.com/ludocode","followers_url":"https://api.github.com/users/ludocode/followers","following_url":"https://api.github.com/users/ludocode/following{/other_user}","gists_url":"https://api.github.com/users/ludocode/gists{/gist_id}","starred_url":"https://api.github.com/users/ludocode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ludocode/subscriptions","organizations_url":"https://api.github.com/users/ludocode/orgs","repos_url":"https://api.github.com/users/ludocode/repos","events_url":"https://api.github.com/users/ludocode/events{/privacy}","received_events_url":"https://api.github.com/users/ludocode/received_events","type":"User","site_admin":false},"body":"If the hardware clock is off by more than the threshold (currently set to ten years), we assume the hardware clock is broken and reset it.\r\n\r\nThis is for devices that reset the clock to a far future date when they lose power. For example when my Acer C720 Chromebook runs out of battery, the kernel fails to read the system time on the next startup and leaves the clock at the year 2151. The current version of fake-hwclock assumes it's correct because it's in the future (and stores 2151 instead of resetting it.) This change resets the clock to the last known time instead since it's more than ten years off.","created_at":"2016-12-10T05:09:24Z","updated_at":"2016-12-11T21:42:47Z","closed_at":"2016-12-11T21:42:47Z","merged_at":"2016-12-11T21:42:47Z","merge_commit_sha":"a01221b77da7bcd9103034ff8b62c0d1c090c58f","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/xanmanning/alarm-fake-hwclock/pulls/5/commits","review_comments_url":"https://api.github.com/repos/xanmanning/alarm-fake-hwclock/pulls/5/comments","review_comment_url":"https://api.github.com/repos/xanmanning/alarm-fake-hwclock/pulls/comments{/number}","comments_url":"https://api.github.com/repos/xanmanning/alarm-fake-hwclock/issues/5/comments","statuses_url":"https://api.github.com/repos/xanmanning/alarm-fake-hwclock/statuses/104db6a8e512b493be20760733cc435c02573453","head":{"label":"ludocode:max-time-difference","ref":"max-time-difference","sha":"104db6a8e512b493be20760733cc435c02573453","user":{"login":"ludocode","id":278471,"avatar_url":"https://avatars.githubusercontent.com/u/278471?v=3","gravatar_id":"","url":"https://api.github.com/users/ludocode","html_url":"https://github.com/ludocode","followers_url":"https://api.github.com/users/ludocode/followers","following_url":"https://api.github.com/users/ludocode/following{/other_user}","gists_url":"https://api.github.com/users/ludocode/gists{/gist_id}","starred_url":"https://api.github.com/users/ludocode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ludocode/subscriptions","organizations_url":"https://api.github.com/users/ludocode/orgs","repos_url":"https://api.github.com/users/ludocode/repos","events_url":"https://api.github.com/users/ludocode/events{/privacy}","received_events_url":"https://api.github.com/users/ludocode/received_events","type":"User","site_admin":false},"repo":{"id":72932906,"name":"alarm-fake-hwclock","full_name":"ludocode/alarm-fake-hwclock","owner":{"login":"ludocode","id":278471,"avatar_url":"https://avatars.githubusercontent.com/u/278471?v=3","gravatar_id":"","url":"https://api.github.com/users/ludocode","html_url":"https://github.com/ludocode","followers_url":"https://api.github.com/users/ludocode/followers","following_url":"https://api.github.com/users/ludocode/following{/other_user}","gists_url":"https://api.github.com/users/ludocode/gists{/gist_id}","starred_url":"https://api.github.com/users/ludocode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ludocode/subscriptions","organizations_url":"https://api.github.com/users/ludocode/orgs","repos_url":"https://api.github.com/users/ludocode/repos","events_url":"https://api.github.com/users/ludocode/events{/privacy}","received_events_url":"https://api.github.com/users/ludocode/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ludocode/alarm-fake-hwclock","description":"Fake HWClock script for RPi Arch Linux Arm (replicates Raspbian's fake-hwclock)","fork":true,"url":"https://api.github.com/repos/ludocode/alarm-fake-hwclock","forks_url":"https://api.github.com/repos/ludocode/alarm-fake-hwclock/forks","keys_url":"https://api.github.com/repos/ludocode/alarm-fake-hwclock/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ludocode/alarm-fake-hwclock/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ludocode/alarm-fake-hwclock/teams","hooks_url":"https://api.github.com/repos/ludocode/alarm-fake-hwclock/hooks","issue_events_url":"https://api.github.com/repos/ludocode/alarm-fake-hwclock/issues/events{/number}","events_url":"https://api.github.com/repos/ludocode/alarm-fake-hwclock/events","assignees_url":"https://api.github.com/repos/ludocode/alarm-fake-hwclock/assignees{/user}","branches_url":"https://api.github.com/repos/ludocode/alarm-fake-hwclock/branches{/branch}","tags_url":"https://api.github.com/repos/ludocode/alarm-fake-hwclock/tags","blobs_url":"https://api.github.com/repos/ludocode/alarm-fake-hwclock/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ludocode/alarm-fake-hwclock/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ludocode/alarm-fake-hwclock/git/refs{/sha}","trees_url":"https://api.github.com/repos/ludocode/alarm-fake-hwclock/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ludocode/alarm-fake-hwclock/statuses/{sha}","languages_url":"https://api.github.com/repos/ludocode/alarm-fake-hwclock/languages","stargazers_url":"https://api.github.com/repos/ludocode/alarm-fake-hwclock/stargazers","contributors_url":"https://api.github.com/repos/ludocode/alarm-fake-hwclock/contributors","subscribers_url":"https://api.github.com/repos/ludocode/alarm-fake-hwclock/subscribers","subscription_url":"https://api.github.com/repos/ludocode/alarm-fake-hwclock/subscription","commits_url":"https://api.github.com/repos/ludocode/alarm-fake-hwclock/commits{/sha}","git_commits_url":"https://api.github.com/repos/ludocode/alarm-fake-hwclock/git/commits{/sha}","comments_url":"https://api.github.com/repos/ludocode/alarm-fake-hwclock/comments{/number}","issue_comment_url":"https://api.github.com/repos/ludocode/alarm-fake-hwclock/issues/comments{/number}","contents_url":"https://api.github.com/repos/ludocode/alarm-fake-hwclock/contents/{+path}","compare_url":"https://api.github.com/repos/ludocode/alarm-fake-hwclock/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ludocode/alarm-fake-hwclock/merges","archive_url":"https://api.github.com/repos/ludocode/alarm-fake-hwclock/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ludocode/alarm-fake-hwclock/downloads","issues_url":"https://api.github.com/repos/ludocode/alarm-fake-hwclock/issues{/number}","pulls_url":"https://api.github.com/repos/ludocode/alarm-fake-hwclock/pulls{/number}","milestones_url":"https://api.github.com/repos/ludocode/alarm-fake-hwclock/milestones{/number}","notifications_url":"https://api.github.com/repos/ludocode/alarm-fake-hwclock/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ludocode/alarm-fake-hwclock/labels{/name}","releases_url":"https://api.github.com/repos/ludocode/alarm-fake-hwclock/releases{/id}","deployments_url":"https://api.github.com/repos/ludocode/alarm-fake-hwclock/deployments","created_at":"2016-11-05T14:56:52Z","updated_at":"2016-11-05T14:56:53Z","pushed_at":"2016-12-10T05:04:27Z","git_url":"git://github.com/ludocode/alarm-fake-hwclock.git","ssh_url":"git@github.com:ludocode/alarm-fake-hwclock.git","clone_url":"https://github.com/ludocode/alarm-fake-hwclock.git","svn_url":"https://github.com/ludocode/alarm-fake-hwclock","homepage":null,"size":15,"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":"xanmanning:master","ref":"master","sha":"e45479ef8f4ff417b535bd85304c565e5c181c13","user":{"login":"xanmanning","id":244186,"avatar_url":"https://avatars.githubusercontent.com/u/244186?v=3","gravatar_id":"","url":"https://api.github.com/users/xanmanning","html_url":"https://github.com/xanmanning","followers_url":"https://api.github.com/users/xanmanning/followers","following_url":"https://api.github.com/users/xanmanning/following{/other_user}","gists_url":"https://api.github.com/users/xanmanning/gists{/gist_id}","starred_url":"https://api.github.com/users/xanmanning/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xanmanning/subscriptions","organizations_url":"https://api.github.com/users/xanmanning/orgs","repos_url":"https://api.github.com/users/xanmanning/repos","events_url":"https://api.github.com/users/xanmanning/events{/privacy}","received_events_url":"https://api.github.com/users/xanmanning/received_events","type":"User","site_admin":false},"repo":{"id":9403670,"name":"alarm-fake-hwclock","full_name":"xanmanning/alarm-fake-hwclock","owner":{"login":"xanmanning","id":244186,"avatar_url":"https://avatars.githubusercontent.com/u/244186?v=3","gravatar_id":"","url":"https://api.github.com/users/xanmanning","html_url":"https://github.com/xanmanning","followers_url":"https://api.github.com/users/xanmanning/followers","following_url":"https://api.github.com/users/xanmanning/following{/other_user}","gists_url":"https://api.github.com/users/xanmanning/gists{/gist_id}","starred_url":"https://api.github.com/users/xanmanning/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xanmanning/subscriptions","organizations_url":"https://api.github.com/users/xanmanning/orgs","repos_url":"https://api.github.com/users/xanmanning/repos","events_url":"https://api.github.com/users/xanmanning/events{/privacy}","received_events_url":"https://api.github.com/users/xanmanning/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/xanmanning/alarm-fake-hwclock","description":"Fake HWClock script for RPi Arch Linux Arm (replicates Raspbian's fake-hwclock)","fork":false,"url":"https://api.github.com/repos/xanmanning/alarm-fake-hwclock","forks_url":"https://api.github.com/repos/xanmanning/alarm-fake-hwclock/forks","keys_url":"https://api.github.com/repos/xanmanning/alarm-fake-hwclock/keys{/key_id}","collaborators_url":"https://api.github.com/repos/xanmanning/alarm-fake-hwclock/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/xanmanning/alarm-fake-hwclock/teams","hooks_url":"https://api.github.com/repos/xanmanning/alarm-fake-hwclock/hooks","issue_events_url":"https://api.github.com/repos/xanmanning/alarm-fake-hwclock/issues/events{/number}","events_url":"https://api.github.com/repos/xanmanning/alarm-fake-hwclock/events","assignees_url":"https://api.github.com/repos/xanmanning/alarm-fake-hwclock/assignees{/user}","branches_url":"https://api.github.com/repos/xanmanning/alarm-fake-hwclock/branches{/branch}","tags_url":"https://api.github.com/repos/xanmanning/alarm-fake-hwclock/tags","blobs_url":"https://api.github.com/repos/xanmanning/alarm-fake-hwclock/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/xanmanning/alarm-fake-hwclock/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/xanmanning/alarm-fake-hwclock/git/refs{/sha}","trees_url":"https://api.github.com/repos/xanmanning/alarm-fake-hwclock/git/trees{/sha}","statuses_url":"https://api.github.com/repos/xanmanning/alarm-fake-hwclock/statuses/{sha}","languages_url":"https://api.github.com/repos/xanmanning/alarm-fake-hwclock/languages","stargazers_url":"https://api.github.com/repos/xanmanning/alarm-fake-hwclock/stargazers","contributors_url":"https://api.github.com/repos/xanmanning/alarm-fake-hwclock/contributors","subscribers_url":"https://api.github.com/repos/xanmanning/alarm-fake-hwclock/subscribers","subscription_url":"https://api.github.com/repos/xanmanning/alarm-fake-hwclock/subscription","commits_url":"https://api.github.com/repos/xanmanning/alarm-fake-hwclock/commits{/sha}","git_commits_url":"https://api.github.com/repos/xanmanning/alarm-fake-hwclock/git/commits{/sha}","comments_url":"https://api.github.com/repos/xanmanning/alarm-fake-hwclock/comments{/number}","issue_comment_url":"https://api.github.com/repos/xanmanning/alarm-fake-hwclock/issues/comments{/number}","contents_url":"https://api.github.com/repos/xanmanning/alarm-fake-hwclock/contents/{+path}","compare_url":"https://api.github.com/repos/xanmanning/alarm-fake-hwclock/compare/{base}...{head}","merges_url":"https://api.github.com/repos/xanmanning/alarm-fake-hwclock/merges","archive_url":"https://api.github.com/repos/xanmanning/alarm-fake-hwclock/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/xanmanning/alarm-fake-hwclock/downloads","issues_url":"https://api.github.com/repos/xanmanning/alarm-fake-hwclock/issues{/number}","pulls_url":"https://api.github.com/repos/xanmanning/alarm-fake-hwclock/pulls{/number}","milestones_url":"https://api.github.com/repos/xanmanning/alarm-fake-hwclock/milestones{/number}","notifications_url":"https://api.github.com/repos/xanmanning/alarm-fake-hwclock/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/xanmanning/alarm-fake-hwclock/labels{/name}","releases_url":"https://api.github.com/repos/xanmanning/alarm-fake-hwclock/releases{/id}","deployments_url":"https://api.github.com/repos/xanmanning/alarm-fake-hwclock/deployments","created_at":"2013-04-12T21:00:37Z","updated_at":"2016-10-26T04:57:55Z","pushed_at":"2016-12-11T21:42:47Z","git_url":"git://github.com/xanmanning/alarm-fake-hwclock.git","ssh_url":"git@github.com:xanmanning/alarm-fake-hwclock.git","clone_url":"https://github.com/xanmanning/alarm-fake-hwclock.git","svn_url":"https://github.com/xanmanning/alarm-fake-hwclock","homepage":null,"size":272,"stargazers_count":17,"watchers_count":17,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":0,"forks":4,"open_issues":0,"watchers":17,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/xanmanning/alarm-fake-hwclock/pulls/5"},"html":{"href":"https://github.com/xanmanning/alarm-fake-hwclock/pull/5"},"issue":{"href":"https://api.github.com/repos/xanmanning/alarm-fake-hwclock/issues/5"},"comments":{"href":"https://api.github.com/repos/xanmanning/alarm-fake-hwclock/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/xanmanning/alarm-fake-hwclock/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/xanmanning/alarm-fake-hwclock/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/xanmanning/alarm-fake-hwclock/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/xanmanning/alarm-fake-hwclock/statuses/104db6a8e512b493be20760733cc435c02573453"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"xanmanning","id":244186,"avatar_url":"https://avatars.githubusercontent.com/u/244186?v=3","gravatar_id":"","url":"https://api.github.com/users/xanmanning","html_url":"https://github.com/xanmanning","followers_url":"https://api.github.com/users/xanmanning/followers","following_url":"https://api.github.com/users/xanmanning/following{/other_user}","gists_url":"https://api.github.com/users/xanmanning/gists{/gist_id}","starred_url":"https://api.github.com/users/xanmanning/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xanmanning/subscriptions","organizations_url":"https://api.github.com/users/xanmanning/orgs","repos_url":"https://api.github.com/users/xanmanning/repos","events_url":"https://api.github.com/users/xanmanning/events{/privacy}","received_events_url":"https://api.github.com/users/xanmanning/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":8,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"xanmanning"}}