{"action":"created","comment":{"url":"https://api.github.com/repos/feross/webtorrent-www/pulls/comments/75987151","id":75987151,"diff_hunk":"@@ -170,18 +170,23 @@ function updateAll () {\n   })\n }\n \n+function getEndOfDay (date) {\n+  return new Date(date + 'T23:59:59Z').getTime()\n+}\n+\n // Draw a red line at each event (eg, new release of the app)\n function updateEvents (chart, i) {\n   var xDomain = chart.xAxis.domain()\n   var yDomain = chart.yAxis.domain()\n   var events = summary.releases.map(function (release) {\n+    console.log('WTF ' + release.published_at)","path":"static/desktop/telemetry/script.js","position":58,"original_position":58,"commit_id":"e877f3b847e9521939dd80c10df069fb0c102507","original_commit_id":"e877f3b847e9521939dd80c10df069fb0c102507","user":{"login":"mathiasvr","id":8664776,"avatar_url":"https://avatars.githubusercontent.com/u/8664776?v=3","gravatar_id":"","url":"https://api.github.com/users/mathiasvr","html_url":"https://github.com/mathiasvr","followers_url":"https://api.github.com/users/mathiasvr/followers","following_url":"https://api.github.com/users/mathiasvr/following{/other_user}","gists_url":"https://api.github.com/users/mathiasvr/gists{/gist_id}","starred_url":"https://api.github.com/users/mathiasvr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mathiasvr/subscriptions","organizations_url":"https://api.github.com/users/mathiasvr/orgs","repos_url":"https://api.github.com/users/mathiasvr/repos","events_url":"https://api.github.com/users/mathiasvr/events{/privacy}","received_events_url":"https://api.github.com/users/mathiasvr/received_events","type":"User","site_admin":false},"body":"WTF?","created_at":"2016-08-24T02:46:53Z","updated_at":"2016-08-24T02:46:53Z","html_url":"https://github.com/feross/webtorrent-www/pull/83#discussion_r75987151","pull_request_url":"https://api.github.com/repos/feross/webtorrent-www/pulls/83","_links":{"self":{"href":"https://api.github.com/repos/feross/webtorrent-www/pulls/comments/75987151"},"html":{"href":"https://github.com/feross/webtorrent-www/pull/83#discussion_r75987151"},"pull_request":{"href":"https://api.github.com/repos/feross/webtorrent-www/pulls/83"}}},"pull_request":{"url":"https://api.github.com/repos/feross/webtorrent-www/pulls/83","id":82470724,"html_url":"https://github.com/feross/webtorrent-www/pull/83","diff_url":"https://github.com/feross/webtorrent-www/pull/83.diff","patch_url":"https://github.com/feross/webtorrent-www/pull/83.patch","issue_url":"https://api.github.com/repos/feross/webtorrent-www/issues/83","number":83,"state":"open","locked":false,"title":"Telemetry dashboard: fix release markers","user":{"login":"dcposch","id":169280,"avatar_url":"https://avatars.githubusercontent.com/u/169280?v=3","gravatar_id":"","url":"https://api.github.com/users/dcposch","html_url":"https://github.com/dcposch","followers_url":"https://api.github.com/users/dcposch/followers","following_url":"https://api.github.com/users/dcposch/following{/other_user}","gists_url":"https://api.github.com/users/dcposch/gists{/gist_id}","starred_url":"https://api.github.com/users/dcposch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dcposch/subscriptions","organizations_url":"https://api.github.com/users/dcposch/orgs","repos_url":"https://api.github.com/users/dcposch/repos","events_url":"https://api.github.com/users/dcposch/events{/privacy}","received_events_url":"https://api.github.com/users/dcposch/received_events","type":"User","site_admin":false},"body":"They were not in the right place on the x axis. Data from the log file for 2016-08-01, for example, should be graphed at 2016-08-01 23:59:59 -- end of day -- that way it shows up *after* the marker line for a release that happened early in the day on Aug 1 UTC.\r\n\r\n### Before\r\n\r\n<img width=\"881\" alt=\"screen shot 2016-08-23 at 7 06 19 pm\" src=\"https://cloud.githubusercontent.com/assets/169280/17916066/bf1ea030-6964-11e6-9bfd-76a6e65da988.png\">\r\n\r\n### After\r\n\r\n<img width=\"879\" alt=\"screen shot 2016-08-23 at 7 05 41 pm\" src=\"https://cloud.githubusercontent.com/assets/169280/17916070/c3975f30-6964-11e6-8e3d-949bb78f6bdf.png\">\r\n\r\n@feross \r\n","created_at":"2016-08-24T02:07:00Z","updated_at":"2016-08-24T02:46:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"108f54dd61c574e7b5937da1a7cd50a75c78ba75","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/feross/webtorrent-www/pulls/83/commits","review_comments_url":"https://api.github.com/repos/feross/webtorrent-www/pulls/83/comments","review_comment_url":"https://api.github.com/repos/feross/webtorrent-www/pulls/comments{/number}","comments_url":"https://api.github.com/repos/feross/webtorrent-www/issues/83/comments","statuses_url":"https://api.github.com/repos/feross/webtorrent-www/statuses/e877f3b847e9521939dd80c10df069fb0c102507","head":{"label":"feross:dc/telemetry","ref":"dc/telemetry","sha":"e877f3b847e9521939dd80c10df069fb0c102507","user":{"login":"feross","id":121766,"avatar_url":"https://avatars.githubusercontent.com/u/121766?v=3","gravatar_id":"","url":"https://api.github.com/users/feross","html_url":"https://github.com/feross","followers_url":"https://api.github.com/users/feross/followers","following_url":"https://api.github.com/users/feross/following{/other_user}","gists_url":"https://api.github.com/users/feross/gists{/gist_id}","starred_url":"https://api.github.com/users/feross/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/feross/subscriptions","organizations_url":"https://api.github.com/users/feross/orgs","repos_url":"https://api.github.com/users/feross/repos","events_url":"https://api.github.com/users/feross/events{/privacy}","received_events_url":"https://api.github.com/users/feross/received_events","type":"User","site_admin":false},"repo":{"id":20123004,"name":"webtorrent-www","full_name":"feross/webtorrent-www","owner":{"login":"feross","id":121766,"avatar_url":"https://avatars.githubusercontent.com/u/121766?v=3","gravatar_id":"","url":"https://api.github.com/users/feross","html_url":"https://github.com/feross","followers_url":"https://api.github.com/users/feross/followers","following_url":"https://api.github.com/users/feross/following{/other_user}","gists_url":"https://api.github.com/users/feross/gists{/gist_id}","starred_url":"https://api.github.com/users/feross/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/feross/subscriptions","organizations_url":"https://api.github.com/users/feross/orgs","repos_url":"https://api.github.com/users/feross/repos","events_url":"https://api.github.com/users/feross/events{/privacy}","received_events_url":"https://api.github.com/users/feross/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/feross/webtorrent-www","description":"The code that runs the WebTorrent website","fork":false,"url":"https://api.github.com/repos/feross/webtorrent-www","forks_url":"https://api.github.com/repos/feross/webtorrent-www/forks","keys_url":"https://api.github.com/repos/feross/webtorrent-www/keys{/key_id}","collaborators_url":"https://api.github.com/repos/feross/webtorrent-www/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/feross/webtorrent-www/teams","hooks_url":"https://api.github.com/repos/feross/webtorrent-www/hooks","issue_events_url":"https://api.github.com/repos/feross/webtorrent-www/issues/events{/number}","events_url":"https://api.github.com/repos/feross/webtorrent-www/events","assignees_url":"https://api.github.com/repos/feross/webtorrent-www/assignees{/user}","branches_url":"https://api.github.com/repos/feross/webtorrent-www/branches{/branch}","tags_url":"https://api.github.com/repos/feross/webtorrent-www/tags","blobs_url":"https://api.github.com/repos/feross/webtorrent-www/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/feross/webtorrent-www/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/feross/webtorrent-www/git/refs{/sha}","trees_url":"https://api.github.com/repos/feross/webtorrent-www/git/trees{/sha}","statuses_url":"https://api.github.com/repos/feross/webtorrent-www/statuses/{sha}","languages_url":"https://api.github.com/repos/feross/webtorrent-www/languages","stargazers_url":"https://api.github.com/repos/feross/webtorrent-www/stargazers","contributors_url":"https://api.github.com/repos/feross/webtorrent-www/contributors","subscribers_url":"https://api.github.com/repos/feross/webtorrent-www/subscribers","subscription_url":"https://api.github.com/repos/feross/webtorrent-www/subscription","commits_url":"https://api.github.com/repos/feross/webtorrent-www/commits{/sha}","git_commits_url":"https://api.github.com/repos/feross/webtorrent-www/git/commits{/sha}","comments_url":"https://api.github.com/repos/feross/webtorrent-www/comments{/number}","issue_comment_url":"https://api.github.com/repos/feross/webtorrent-www/issues/comments{/number}","contents_url":"https://api.github.com/repos/feross/webtorrent-www/contents/{+path}","compare_url":"https://api.github.com/repos/feross/webtorrent-www/compare/{base}...{head}","merges_url":"https://api.github.com/repos/feross/webtorrent-www/merges","archive_url":"https://api.github.com/repos/feross/webtorrent-www/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/feross/webtorrent-www/downloads","issues_url":"https://api.github.com/repos/feross/webtorrent-www/issues{/number}","pulls_url":"https://api.github.com/repos/feross/webtorrent-www/pulls{/number}","milestones_url":"https://api.github.com/repos/feross/webtorrent-www/milestones{/number}","notifications_url":"https://api.github.com/repos/feross/webtorrent-www/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/feross/webtorrent-www/labels{/name}","releases_url":"https://api.github.com/repos/feross/webtorrent-www/releases{/id}","deployments_url":"https://api.github.com/repos/feross/webtorrent-www/deployments","created_at":"2014-05-24T05:51:50Z","updated_at":"2016-08-16T06:52:28Z","pushed_at":"2016-08-24T02:07:01Z","git_url":"git://github.com/feross/webtorrent-www.git","ssh_url":"git@github.com:feross/webtorrent-www.git","clone_url":"https://github.com/feross/webtorrent-www.git","svn_url":"https://github.com/feross/webtorrent-www","homepage":"https://webtorrent.io","size":10894,"stargazers_count":55,"watchers_count":55,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":23,"mirror_url":null,"open_issues_count":12,"forks":23,"open_issues":12,"watchers":55,"default_branch":"master"}},"base":{"label":"feross:master","ref":"master","sha":"46835f0a26c7cf2778433997a4957aa6927d2b2e","user":{"login":"feross","id":121766,"avatar_url":"https://avatars.githubusercontent.com/u/121766?v=3","gravatar_id":"","url":"https://api.github.com/users/feross","html_url":"https://github.com/feross","followers_url":"https://api.github.com/users/feross/followers","following_url":"https://api.github.com/users/feross/following{/other_user}","gists_url":"https://api.github.com/users/feross/gists{/gist_id}","starred_url":"https://api.github.com/users/feross/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/feross/subscriptions","organizations_url":"https://api.github.com/users/feross/orgs","repos_url":"https://api.github.com/users/feross/repos","events_url":"https://api.github.com/users/feross/events{/privacy}","received_events_url":"https://api.github.com/users/feross/received_events","type":"User","site_admin":false},"repo":{"id":20123004,"name":"webtorrent-www","full_name":"feross/webtorrent-www","owner":{"login":"feross","id":121766,"avatar_url":"https://avatars.githubusercontent.com/u/121766?v=3","gravatar_id":"","url":"https://api.github.com/users/feross","html_url":"https://github.com/feross","followers_url":"https://api.github.com/users/feross/followers","following_url":"https://api.github.com/users/feross/following{/other_user}","gists_url":"https://api.github.com/users/feross/gists{/gist_id}","starred_url":"https://api.github.com/users/feross/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/feross/subscriptions","organizations_url":"https://api.github.com/users/feross/orgs","repos_url":"https://api.github.com/users/feross/repos","events_url":"https://api.github.com/users/feross/events{/privacy}","received_events_url":"https://api.github.com/users/feross/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/feross/webtorrent-www","description":"The code that runs the WebTorrent website","fork":false,"url":"https://api.github.com/repos/feross/webtorrent-www","forks_url":"https://api.github.com/repos/feross/webtorrent-www/forks","keys_url":"https://api.github.com/repos/feross/webtorrent-www/keys{/key_id}","collaborators_url":"https://api.github.com/repos/feross/webtorrent-www/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/feross/webtorrent-www/teams","hooks_url":"https://api.github.com/repos/feross/webtorrent-www/hooks","issue_events_url":"https://api.github.com/repos/feross/webtorrent-www/issues/events{/number}","events_url":"https://api.github.com/repos/feross/webtorrent-www/events","assignees_url":"https://api.github.com/repos/feross/webtorrent-www/assignees{/user}","branches_url":"https://api.github.com/repos/feross/webtorrent-www/branches{/branch}","tags_url":"https://api.github.com/repos/feross/webtorrent-www/tags","blobs_url":"https://api.github.com/repos/feross/webtorrent-www/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/feross/webtorrent-www/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/feross/webtorrent-www/git/refs{/sha}","trees_url":"https://api.github.com/repos/feross/webtorrent-www/git/trees{/sha}","statuses_url":"https://api.github.com/repos/feross/webtorrent-www/statuses/{sha}","languages_url":"https://api.github.com/repos/feross/webtorrent-www/languages","stargazers_url":"https://api.github.com/repos/feross/webtorrent-www/stargazers","contributors_url":"https://api.github.com/repos/feross/webtorrent-www/contributors","subscribers_url":"https://api.github.com/repos/feross/webtorrent-www/subscribers","subscription_url":"https://api.github.com/repos/feross/webtorrent-www/subscription","commits_url":"https://api.github.com/repos/feross/webtorrent-www/commits{/sha}","git_commits_url":"https://api.github.com/repos/feross/webtorrent-www/git/commits{/sha}","comments_url":"https://api.github.com/repos/feross/webtorrent-www/comments{/number}","issue_comment_url":"https://api.github.com/repos/feross/webtorrent-www/issues/comments{/number}","contents_url":"https://api.github.com/repos/feross/webtorrent-www/contents/{+path}","compare_url":"https://api.github.com/repos/feross/webtorrent-www/compare/{base}...{head}","merges_url":"https://api.github.com/repos/feross/webtorrent-www/merges","archive_url":"https://api.github.com/repos/feross/webtorrent-www/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/feross/webtorrent-www/downloads","issues_url":"https://api.github.com/repos/feross/webtorrent-www/issues{/number}","pulls_url":"https://api.github.com/repos/feross/webtorrent-www/pulls{/number}","milestones_url":"https://api.github.com/repos/feross/webtorrent-www/milestones{/number}","notifications_url":"https://api.github.com/repos/feross/webtorrent-www/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/feross/webtorrent-www/labels{/name}","releases_url":"https://api.github.com/repos/feross/webtorrent-www/releases{/id}","deployments_url":"https://api.github.com/repos/feross/webtorrent-www/deployments","created_at":"2014-05-24T05:51:50Z","updated_at":"2016-08-16T06:52:28Z","pushed_at":"2016-08-24T02:07:01Z","git_url":"git://github.com/feross/webtorrent-www.git","ssh_url":"git@github.com:feross/webtorrent-www.git","clone_url":"https://github.com/feross/webtorrent-www.git","svn_url":"https://github.com/feross/webtorrent-www","homepage":"https://webtorrent.io","size":10894,"stargazers_count":55,"watchers_count":55,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":23,"mirror_url":null,"open_issues_count":12,"forks":23,"open_issues":12,"watchers":55,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/feross/webtorrent-www/pulls/83"},"html":{"href":"https://github.com/feross/webtorrent-www/pull/83"},"issue":{"href":"https://api.github.com/repos/feross/webtorrent-www/issues/83"},"comments":{"href":"https://api.github.com/repos/feross/webtorrent-www/issues/83/comments"},"review_comments":{"href":"https://api.github.com/repos/feross/webtorrent-www/pulls/83/comments"},"review_comment":{"href":"https://api.github.com/repos/feross/webtorrent-www/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/feross/webtorrent-www/pulls/83/commits"},"statuses":{"href":"https://api.github.com/repos/feross/webtorrent-www/statuses/e877f3b847e9521939dd80c10df069fb0c102507"}}}}
{"actor":{"display_login":"mathiasvr"}}