{"action":"created","comment":{"url":"https://api.github.com/repos/varanthir/to-do/pulls/comments/64802840","id":64802840,"diff_hunk":"@@ -17,45 +18,100 @@ function loadData() {\n     return JSON.parse(localStorage.getItem('varanthirToDo'));\n }\n \n+\n //HELPERS\n function getDayOfWeek(date) {\n     return ['Nd', 'Pn', 'Wt', 'Śr', 'Cz', 'Pt', 'Sb'][date.getDay()];\n }\n \n function getTime(date) {\n-    return `${date.getHours()}:${date.getMinutes()}`;\n+    return `${to2ds(date.getHours())}:${to2ds(date.getMinutes())}`;\n+}\n+\n+function to2ds(int) { //int to 2 digit string (if int < 10)","path":"script.js","position":23,"original_position":23,"commit_id":"bcfeb3bea0bf4759e351c8e1c89bff12643d9591","original_commit_id":"bcfeb3bea0bf4759e351c8e1c89bff12643d9591","user":{"login":"ulfryk","id":1754948,"avatar_url":"https://avatars.githubusercontent.com/u/1754948?v=3","gravatar_id":"","url":"https://api.github.com/users/ulfryk","html_url":"https://github.com/ulfryk","followers_url":"https://api.github.com/users/ulfryk/followers","following_url":"https://api.github.com/users/ulfryk/following{/other_user}","gists_url":"https://api.github.com/users/ulfryk/gists{/gist_id}","starred_url":"https://api.github.com/users/ulfryk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ulfryk/subscriptions","organizations_url":"https://api.github.com/users/ulfryk/orgs","repos_url":"https://api.github.com/users/ulfryk/repos","events_url":"https://api.github.com/users/ulfryk/events{/privacy}","received_events_url":"https://api.github.com/users/ulfryk/received_events","type":"User","site_admin":false},"body":"r2d2 ? 22ds ? 2tods? totoods ?","created_at":"2016-05-26T19:08:24Z","updated_at":"2016-05-26T19:08:24Z","html_url":"https://github.com/varanthir/to-do/pull/8#discussion_r64802840","pull_request_url":"https://api.github.com/repos/varanthir/to-do/pulls/8","_links":{"self":{"href":"https://api.github.com/repos/varanthir/to-do/pulls/comments/64802840"},"html":{"href":"https://github.com/varanthir/to-do/pull/8#discussion_r64802840"},"pull_request":{"href":"https://api.github.com/repos/varanthir/to-do/pulls/8"}}},"pull_request":{"url":"https://api.github.com/repos/varanthir/to-do/pulls/8","id":71589982,"html_url":"https://github.com/varanthir/to-do/pull/8","diff_url":"https://github.com/varanthir/to-do/pull/8.diff","patch_url":"https://github.com/varanthir/to-do/pull/8.patch","issue_url":"https://api.github.com/repos/varanthir/to-do/issues/8","number":8,"state":"open","locked":false,"title":"Adding new note","user":{"login":"varanthir","id":17810474,"avatar_url":"https://avatars.githubusercontent.com/u/17810474?v=3","gravatar_id":"","url":"https://api.github.com/users/varanthir","html_url":"https://github.com/varanthir","followers_url":"https://api.github.com/users/varanthir/followers","following_url":"https://api.github.com/users/varanthir/following{/other_user}","gists_url":"https://api.github.com/users/varanthir/gists{/gist_id}","starred_url":"https://api.github.com/users/varanthir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/varanthir/subscriptions","organizations_url":"https://api.github.com/users/varanthir/orgs","repos_url":"https://api.github.com/users/varanthir/repos","events_url":"https://api.github.com/users/varanthir/events{/privacy}","received_events_url":"https://api.github.com/users/varanthir/received_events","type":"User","site_admin":false},"body":"Sorry, a little messy, next time will be better.","created_at":"2016-05-26T17:01:02Z","updated_at":"2016-05-26T19:08:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0de9c1e34fe884f77dd0a5a1129675671b2efc5f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/varanthir/to-do/pulls/8/commits","review_comments_url":"https://api.github.com/repos/varanthir/to-do/pulls/8/comments","review_comment_url":"https://api.github.com/repos/varanthir/to-do/pulls/comments{/number}","comments_url":"https://api.github.com/repos/varanthir/to-do/issues/8/comments","statuses_url":"https://api.github.com/repos/varanthir/to-do/statuses/bcfeb3bea0bf4759e351c8e1c89bff12643d9591","head":{"label":"varanthir:adding-new-note","ref":"adding-new-note","sha":"bcfeb3bea0bf4759e351c8e1c89bff12643d9591","user":{"login":"varanthir","id":17810474,"avatar_url":"https://avatars.githubusercontent.com/u/17810474?v=3","gravatar_id":"","url":"https://api.github.com/users/varanthir","html_url":"https://github.com/varanthir","followers_url":"https://api.github.com/users/varanthir/followers","following_url":"https://api.github.com/users/varanthir/following{/other_user}","gists_url":"https://api.github.com/users/varanthir/gists{/gist_id}","starred_url":"https://api.github.com/users/varanthir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/varanthir/subscriptions","organizations_url":"https://api.github.com/users/varanthir/orgs","repos_url":"https://api.github.com/users/varanthir/repos","events_url":"https://api.github.com/users/varanthir/events{/privacy}","received_events_url":"https://api.github.com/users/varanthir/received_events","type":"User","site_admin":false},"repo":{"id":59405530,"name":"to-do","full_name":"varanthir/to-do","owner":{"login":"varanthir","id":17810474,"avatar_url":"https://avatars.githubusercontent.com/u/17810474?v=3","gravatar_id":"","url":"https://api.github.com/users/varanthir","html_url":"https://github.com/varanthir","followers_url":"https://api.github.com/users/varanthir/followers","following_url":"https://api.github.com/users/varanthir/following{/other_user}","gists_url":"https://api.github.com/users/varanthir/gists{/gist_id}","starred_url":"https://api.github.com/users/varanthir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/varanthir/subscriptions","organizations_url":"https://api.github.com/users/varanthir/orgs","repos_url":"https://api.github.com/users/varanthir/repos","events_url":"https://api.github.com/users/varanthir/events{/privacy}","received_events_url":"https://api.github.com/users/varanthir/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/varanthir/to-do","description":"Simple ToDo list with UI","fork":false,"url":"https://api.github.com/repos/varanthir/to-do","forks_url":"https://api.github.com/repos/varanthir/to-do/forks","keys_url":"https://api.github.com/repos/varanthir/to-do/keys{/key_id}","collaborators_url":"https://api.github.com/repos/varanthir/to-do/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/varanthir/to-do/teams","hooks_url":"https://api.github.com/repos/varanthir/to-do/hooks","issue_events_url":"https://api.github.com/repos/varanthir/to-do/issues/events{/number}","events_url":"https://api.github.com/repos/varanthir/to-do/events","assignees_url":"https://api.github.com/repos/varanthir/to-do/assignees{/user}","branches_url":"https://api.github.com/repos/varanthir/to-do/branches{/branch}","tags_url":"https://api.github.com/repos/varanthir/to-do/tags","blobs_url":"https://api.github.com/repos/varanthir/to-do/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/varanthir/to-do/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/varanthir/to-do/git/refs{/sha}","trees_url":"https://api.github.com/repos/varanthir/to-do/git/trees{/sha}","statuses_url":"https://api.github.com/repos/varanthir/to-do/statuses/{sha}","languages_url":"https://api.github.com/repos/varanthir/to-do/languages","stargazers_url":"https://api.github.com/repos/varanthir/to-do/stargazers","contributors_url":"https://api.github.com/repos/varanthir/to-do/contributors","subscribers_url":"https://api.github.com/repos/varanthir/to-do/subscribers","subscription_url":"https://api.github.com/repos/varanthir/to-do/subscription","commits_url":"https://api.github.com/repos/varanthir/to-do/commits{/sha}","git_commits_url":"https://api.github.com/repos/varanthir/to-do/git/commits{/sha}","comments_url":"https://api.github.com/repos/varanthir/to-do/comments{/number}","issue_comment_url":"https://api.github.com/repos/varanthir/to-do/issues/comments{/number}","contents_url":"https://api.github.com/repos/varanthir/to-do/contents/{+path}","compare_url":"https://api.github.com/repos/varanthir/to-do/compare/{base}...{head}","merges_url":"https://api.github.com/repos/varanthir/to-do/merges","archive_url":"https://api.github.com/repos/varanthir/to-do/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/varanthir/to-do/downloads","issues_url":"https://api.github.com/repos/varanthir/to-do/issues{/number}","pulls_url":"https://api.github.com/repos/varanthir/to-do/pulls{/number}","milestones_url":"https://api.github.com/repos/varanthir/to-do/milestones{/number}","notifications_url":"https://api.github.com/repos/varanthir/to-do/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/varanthir/to-do/labels{/name}","releases_url":"https://api.github.com/repos/varanthir/to-do/releases{/id}","deployments_url":"https://api.github.com/repos/varanthir/to-do/deployments","created_at":"2016-05-22T09:57:37Z","updated_at":"2016-05-23T06:48:25Z","pushed_at":"2016-05-26T17:36:33Z","git_url":"git://github.com/varanthir/to-do.git","ssh_url":"git@github.com:varanthir/to-do.git","clone_url":"https://github.com/varanthir/to-do.git","svn_url":"https://github.com/varanthir/to-do","homepage":null,"size":26,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":1,"default_branch":"master"}},"base":{"label":"varanthir:master","ref":"master","sha":"39fd9c57405ebcbc3939736891814e3c2ae661a1","user":{"login":"varanthir","id":17810474,"avatar_url":"https://avatars.githubusercontent.com/u/17810474?v=3","gravatar_id":"","url":"https://api.github.com/users/varanthir","html_url":"https://github.com/varanthir","followers_url":"https://api.github.com/users/varanthir/followers","following_url":"https://api.github.com/users/varanthir/following{/other_user}","gists_url":"https://api.github.com/users/varanthir/gists{/gist_id}","starred_url":"https://api.github.com/users/varanthir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/varanthir/subscriptions","organizations_url":"https://api.github.com/users/varanthir/orgs","repos_url":"https://api.github.com/users/varanthir/repos","events_url":"https://api.github.com/users/varanthir/events{/privacy}","received_events_url":"https://api.github.com/users/varanthir/received_events","type":"User","site_admin":false},"repo":{"id":59405530,"name":"to-do","full_name":"varanthir/to-do","owner":{"login":"varanthir","id":17810474,"avatar_url":"https://avatars.githubusercontent.com/u/17810474?v=3","gravatar_id":"","url":"https://api.github.com/users/varanthir","html_url":"https://github.com/varanthir","followers_url":"https://api.github.com/users/varanthir/followers","following_url":"https://api.github.com/users/varanthir/following{/other_user}","gists_url":"https://api.github.com/users/varanthir/gists{/gist_id}","starred_url":"https://api.github.com/users/varanthir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/varanthir/subscriptions","organizations_url":"https://api.github.com/users/varanthir/orgs","repos_url":"https://api.github.com/users/varanthir/repos","events_url":"https://api.github.com/users/varanthir/events{/privacy}","received_events_url":"https://api.github.com/users/varanthir/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/varanthir/to-do","description":"Simple ToDo list with UI","fork":false,"url":"https://api.github.com/repos/varanthir/to-do","forks_url":"https://api.github.com/repos/varanthir/to-do/forks","keys_url":"https://api.github.com/repos/varanthir/to-do/keys{/key_id}","collaborators_url":"https://api.github.com/repos/varanthir/to-do/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/varanthir/to-do/teams","hooks_url":"https://api.github.com/repos/varanthir/to-do/hooks","issue_events_url":"https://api.github.com/repos/varanthir/to-do/issues/events{/number}","events_url":"https://api.github.com/repos/varanthir/to-do/events","assignees_url":"https://api.github.com/repos/varanthir/to-do/assignees{/user}","branches_url":"https://api.github.com/repos/varanthir/to-do/branches{/branch}","tags_url":"https://api.github.com/repos/varanthir/to-do/tags","blobs_url":"https://api.github.com/repos/varanthir/to-do/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/varanthir/to-do/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/varanthir/to-do/git/refs{/sha}","trees_url":"https://api.github.com/repos/varanthir/to-do/git/trees{/sha}","statuses_url":"https://api.github.com/repos/varanthir/to-do/statuses/{sha}","languages_url":"https://api.github.com/repos/varanthir/to-do/languages","stargazers_url":"https://api.github.com/repos/varanthir/to-do/stargazers","contributors_url":"https://api.github.com/repos/varanthir/to-do/contributors","subscribers_url":"https://api.github.com/repos/varanthir/to-do/subscribers","subscription_url":"https://api.github.com/repos/varanthir/to-do/subscription","commits_url":"https://api.github.com/repos/varanthir/to-do/commits{/sha}","git_commits_url":"https://api.github.com/repos/varanthir/to-do/git/commits{/sha}","comments_url":"https://api.github.com/repos/varanthir/to-do/comments{/number}","issue_comment_url":"https://api.github.com/repos/varanthir/to-do/issues/comments{/number}","contents_url":"https://api.github.com/repos/varanthir/to-do/contents/{+path}","compare_url":"https://api.github.com/repos/varanthir/to-do/compare/{base}...{head}","merges_url":"https://api.github.com/repos/varanthir/to-do/merges","archive_url":"https://api.github.com/repos/varanthir/to-do/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/varanthir/to-do/downloads","issues_url":"https://api.github.com/repos/varanthir/to-do/issues{/number}","pulls_url":"https://api.github.com/repos/varanthir/to-do/pulls{/number}","milestones_url":"https://api.github.com/repos/varanthir/to-do/milestones{/number}","notifications_url":"https://api.github.com/repos/varanthir/to-do/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/varanthir/to-do/labels{/name}","releases_url":"https://api.github.com/repos/varanthir/to-do/releases{/id}","deployments_url":"https://api.github.com/repos/varanthir/to-do/deployments","created_at":"2016-05-22T09:57:37Z","updated_at":"2016-05-23T06:48:25Z","pushed_at":"2016-05-26T17:36:33Z","git_url":"git://github.com/varanthir/to-do.git","ssh_url":"git@github.com:varanthir/to-do.git","clone_url":"https://github.com/varanthir/to-do.git","svn_url":"https://github.com/varanthir/to-do","homepage":null,"size":26,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/varanthir/to-do/pulls/8"},"html":{"href":"https://github.com/varanthir/to-do/pull/8"},"issue":{"href":"https://api.github.com/repos/varanthir/to-do/issues/8"},"comments":{"href":"https://api.github.com/repos/varanthir/to-do/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/varanthir/to-do/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/varanthir/to-do/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/varanthir/to-do/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/varanthir/to-do/statuses/bcfeb3bea0bf4759e351c8e1c89bff12643d9591"}}}}
{"actor":{"display_login":"ulfryk"}}