{"action":"created","comment":{"url":"https://api.github.com/repos/urfu-2016/javascript-task-3/pulls/comments/85394425","pull_request_review_id":6114469,"id":85394425,"diff_hunk":"@@ -6,16 +6,144 @@\n  */\n exports.isStar = true;\n \n+var MINUTES_IN_DAY = 1440;\n+var MINUTES_IN_HOUR = 60;\n+var WEEKDAYS_MAP = ['ПН', 'ВТ', 'СР', 'ЧТ', 'ПТ', 'СБ', 'ВС'];\n+\n+function getEndTimeOfRobbery(bankTimeZone) {\n+    return 3 * MINUTES_IN_DAY - bankTimeZone * MINUTES_IN_HOUR - 1;","path":"robbery.js","position":9,"original_position":9,"commit_id":"602ae0015a73b3467130a5946c104a0eb49f2a34","original_commit_id":"602ae0015a73b3467130a5946c104a0eb49f2a34","user":{"login":"Dotokoto","id":8973726,"avatar_url":"https://avatars.githubusercontent.com/u/8973726?v=3","gravatar_id":"","url":"https://api.github.com/users/Dotokoto","html_url":"https://github.com/Dotokoto","followers_url":"https://api.github.com/users/Dotokoto/followers","following_url":"https://api.github.com/users/Dotokoto/following{/other_user}","gists_url":"https://api.github.com/users/Dotokoto/gists{/gist_id}","starred_url":"https://api.github.com/users/Dotokoto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dotokoto/subscriptions","organizations_url":"https://api.github.com/users/Dotokoto/orgs","repos_url":"https://api.github.com/users/Dotokoto/repos","events_url":"https://api.github.com/users/Dotokoto/events{/privacy}","received_events_url":"https://api.github.com/users/Dotokoto/received_events","type":"User","site_admin":false},"body":"3 - это ведь тоже константа, нужно вынести","created_at":"2016-10-27T18:05:45Z","updated_at":"2016-10-27T18:05:45Z","html_url":"https://github.com/urfu-2016/javascript-task-3/pull/27#discussion_r85394425","pull_request_url":"https://api.github.com/repos/urfu-2016/javascript-task-3/pulls/27","_links":{"self":{"href":"https://api.github.com/repos/urfu-2016/javascript-task-3/pulls/comments/85394425"},"html":{"href":"https://github.com/urfu-2016/javascript-task-3/pull/27#discussion_r85394425"},"pull_request":{"href":"https://api.github.com/repos/urfu-2016/javascript-task-3/pulls/27"}}},"pull_request":{"url":"https://api.github.com/repos/urfu-2016/javascript-task-3/pulls/27","id":90527605,"html_url":"https://github.com/urfu-2016/javascript-task-3/pull/27","diff_url":"https://github.com/urfu-2016/javascript-task-3/pull/27.diff","patch_url":"https://github.com/urfu-2016/javascript-task-3/pull/27.patch","issue_url":"https://api.github.com/repos/urfu-2016/javascript-task-3/issues/27","number":27,"state":"open","locked":false,"title":"Свалова Настя","user":{"login":"SvalovaNastya","id":6783533,"avatar_url":"https://avatars.githubusercontent.com/u/6783533?v=3","gravatar_id":"","url":"https://api.github.com/users/SvalovaNastya","html_url":"https://github.com/SvalovaNastya","followers_url":"https://api.github.com/users/SvalovaNastya/followers","following_url":"https://api.github.com/users/SvalovaNastya/following{/other_user}","gists_url":"https://api.github.com/users/SvalovaNastya/gists{/gist_id}","starred_url":"https://api.github.com/users/SvalovaNastya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SvalovaNastya/subscriptions","organizations_url":"https://api.github.com/users/SvalovaNastya/orgs","repos_url":"https://api.github.com/users/SvalovaNastya/repos","events_url":"https://api.github.com/users/SvalovaNastya/events{/privacy}","received_events_url":"https://api.github.com/users/SvalovaNastya/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-10-23T19:59:28Z","updated_at":"2016-10-27T18:05:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e2d0acfa88f36fe684e8c674c01464ebe10d6f24","assignee":{"login":"Dotokoto","id":8973726,"avatar_url":"https://avatars.githubusercontent.com/u/8973726?v=3","gravatar_id":"","url":"https://api.github.com/users/Dotokoto","html_url":"https://github.com/Dotokoto","followers_url":"https://api.github.com/users/Dotokoto/followers","following_url":"https://api.github.com/users/Dotokoto/following{/other_user}","gists_url":"https://api.github.com/users/Dotokoto/gists{/gist_id}","starred_url":"https://api.github.com/users/Dotokoto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dotokoto/subscriptions","organizations_url":"https://api.github.com/users/Dotokoto/orgs","repos_url":"https://api.github.com/users/Dotokoto/repos","events_url":"https://api.github.com/users/Dotokoto/events{/privacy}","received_events_url":"https://api.github.com/users/Dotokoto/received_events","type":"User","site_admin":false},"assignees":[{"login":"Dotokoto","id":8973726,"avatar_url":"https://avatars.githubusercontent.com/u/8973726?v=3","gravatar_id":"","url":"https://api.github.com/users/Dotokoto","html_url":"https://github.com/Dotokoto","followers_url":"https://api.github.com/users/Dotokoto/followers","following_url":"https://api.github.com/users/Dotokoto/following{/other_user}","gists_url":"https://api.github.com/users/Dotokoto/gists{/gist_id}","starred_url":"https://api.github.com/users/Dotokoto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dotokoto/subscriptions","organizations_url":"https://api.github.com/users/Dotokoto/orgs","repos_url":"https://api.github.com/users/Dotokoto/repos","events_url":"https://api.github.com/users/Dotokoto/events{/privacy}","received_events_url":"https://api.github.com/users/Dotokoto/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/urfu-2016/javascript-task-3/pulls/27/commits","review_comments_url":"https://api.github.com/repos/urfu-2016/javascript-task-3/pulls/27/comments","review_comment_url":"https://api.github.com/repos/urfu-2016/javascript-task-3/pulls/comments{/number}","comments_url":"https://api.github.com/repos/urfu-2016/javascript-task-3/issues/27/comments","statuses_url":"https://api.github.com/repos/urfu-2016/javascript-task-3/statuses/602ae0015a73b3467130a5946c104a0eb49f2a34","head":{"label":"SvalovaNastya:master","ref":"master","sha":"602ae0015a73b3467130a5946c104a0eb49f2a34","user":{"login":"SvalovaNastya","id":6783533,"avatar_url":"https://avatars.githubusercontent.com/u/6783533?v=3","gravatar_id":"","url":"https://api.github.com/users/SvalovaNastya","html_url":"https://github.com/SvalovaNastya","followers_url":"https://api.github.com/users/SvalovaNastya/followers","following_url":"https://api.github.com/users/SvalovaNastya/following{/other_user}","gists_url":"https://api.github.com/users/SvalovaNastya/gists{/gist_id}","starred_url":"https://api.github.com/users/SvalovaNastya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SvalovaNastya/subscriptions","organizations_url":"https://api.github.com/users/SvalovaNastya/orgs","repos_url":"https://api.github.com/users/SvalovaNastya/repos","events_url":"https://api.github.com/users/SvalovaNastya/events{/privacy}","received_events_url":"https://api.github.com/users/SvalovaNastya/received_events","type":"User","site_admin":false},"repo":{"id":71641145,"name":"javascript-task-3","full_name":"SvalovaNastya/javascript-task-3","owner":{"login":"SvalovaNastya","id":6783533,"avatar_url":"https://avatars.githubusercontent.com/u/6783533?v=3","gravatar_id":"","url":"https://api.github.com/users/SvalovaNastya","html_url":"https://github.com/SvalovaNastya","followers_url":"https://api.github.com/users/SvalovaNastya/followers","following_url":"https://api.github.com/users/SvalovaNastya/following{/other_user}","gists_url":"https://api.github.com/users/SvalovaNastya/gists{/gist_id}","starred_url":"https://api.github.com/users/SvalovaNastya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SvalovaNastya/subscriptions","organizations_url":"https://api.github.com/users/SvalovaNastya/orgs","repos_url":"https://api.github.com/users/SvalovaNastya/repos","events_url":"https://api.github.com/users/SvalovaNastya/events{/privacy}","received_events_url":"https://api.github.com/users/SvalovaNastya/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/SvalovaNastya/javascript-task-3","description":"Задача «0b11 друзей Оушена»","fork":true,"url":"https://api.github.com/repos/SvalovaNastya/javascript-task-3","forks_url":"https://api.github.com/repos/SvalovaNastya/javascript-task-3/forks","keys_url":"https://api.github.com/repos/SvalovaNastya/javascript-task-3/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SvalovaNastya/javascript-task-3/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SvalovaNastya/javascript-task-3/teams","hooks_url":"https://api.github.com/repos/SvalovaNastya/javascript-task-3/hooks","issue_events_url":"https://api.github.com/repos/SvalovaNastya/javascript-task-3/issues/events{/number}","events_url":"https://api.github.com/repos/SvalovaNastya/javascript-task-3/events","assignees_url":"https://api.github.com/repos/SvalovaNastya/javascript-task-3/assignees{/user}","branches_url":"https://api.github.com/repos/SvalovaNastya/javascript-task-3/branches{/branch}","tags_url":"https://api.github.com/repos/SvalovaNastya/javascript-task-3/tags","blobs_url":"https://api.github.com/repos/SvalovaNastya/javascript-task-3/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SvalovaNastya/javascript-task-3/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SvalovaNastya/javascript-task-3/git/refs{/sha}","trees_url":"https://api.github.com/repos/SvalovaNastya/javascript-task-3/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SvalovaNastya/javascript-task-3/statuses/{sha}","languages_url":"https://api.github.com/repos/SvalovaNastya/javascript-task-3/languages","stargazers_url":"https://api.github.com/repos/SvalovaNastya/javascript-task-3/stargazers","contributors_url":"https://api.github.com/repos/SvalovaNastya/javascript-task-3/contributors","subscribers_url":"https://api.github.com/repos/SvalovaNastya/javascript-task-3/subscribers","subscription_url":"https://api.github.com/repos/SvalovaNastya/javascript-task-3/subscription","commits_url":"https://api.github.com/repos/SvalovaNastya/javascript-task-3/commits{/sha}","git_commits_url":"https://api.github.com/repos/SvalovaNastya/javascript-task-3/git/commits{/sha}","comments_url":"https://api.github.com/repos/SvalovaNastya/javascript-task-3/comments{/number}","issue_comment_url":"https://api.github.com/repos/SvalovaNastya/javascript-task-3/issues/comments{/number}","contents_url":"https://api.github.com/repos/SvalovaNastya/javascript-task-3/contents/{+path}","compare_url":"https://api.github.com/repos/SvalovaNastya/javascript-task-3/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SvalovaNastya/javascript-task-3/merges","archive_url":"https://api.github.com/repos/SvalovaNastya/javascript-task-3/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SvalovaNastya/javascript-task-3/downloads","issues_url":"https://api.github.com/repos/SvalovaNastya/javascript-task-3/issues{/number}","pulls_url":"https://api.github.com/repos/SvalovaNastya/javascript-task-3/pulls{/number}","milestones_url":"https://api.github.com/repos/SvalovaNastya/javascript-task-3/milestones{/number}","notifications_url":"https://api.github.com/repos/SvalovaNastya/javascript-task-3/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SvalovaNastya/javascript-task-3/labels{/name}","releases_url":"https://api.github.com/repos/SvalovaNastya/javascript-task-3/releases{/id}","deployments_url":"https://api.github.com/repos/SvalovaNastya/javascript-task-3/deployments","created_at":"2016-10-22T13:35:09Z","updated_at":"2016-10-22T13:35:11Z","pushed_at":"2016-10-26T18:05:00Z","git_url":"git://github.com/SvalovaNastya/javascript-task-3.git","ssh_url":"git@github.com:SvalovaNastya/javascript-task-3.git","clone_url":"https://github.com/SvalovaNastya/javascript-task-3.git","svn_url":"https://github.com/SvalovaNastya/javascript-task-3","homepage":"","size":16,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"urfu-2016:master","ref":"master","sha":"bbdd8da0f05059541027bd2efc6038893eaaf2ae","user":{"login":"urfu-2016","id":22170529,"avatar_url":"https://avatars.githubusercontent.com/u/22170529?v=3","gravatar_id":"","url":"https://api.github.com/users/urfu-2016","html_url":"https://github.com/urfu-2016","followers_url":"https://api.github.com/users/urfu-2016/followers","following_url":"https://api.github.com/users/urfu-2016/following{/other_user}","gists_url":"https://api.github.com/users/urfu-2016/gists{/gist_id}","starred_url":"https://api.github.com/users/urfu-2016/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/urfu-2016/subscriptions","organizations_url":"https://api.github.com/users/urfu-2016/orgs","repos_url":"https://api.github.com/users/urfu-2016/repos","events_url":"https://api.github.com/users/urfu-2016/events{/privacy}","received_events_url":"https://api.github.com/users/urfu-2016/received_events","type":"Organization","site_admin":false},"repo":{"id":71448848,"name":"javascript-task-3","full_name":"urfu-2016/javascript-task-3","owner":{"login":"urfu-2016","id":22170529,"avatar_url":"https://avatars.githubusercontent.com/u/22170529?v=3","gravatar_id":"","url":"https://api.github.com/users/urfu-2016","html_url":"https://github.com/urfu-2016","followers_url":"https://api.github.com/users/urfu-2016/followers","following_url":"https://api.github.com/users/urfu-2016/following{/other_user}","gists_url":"https://api.github.com/users/urfu-2016/gists{/gist_id}","starred_url":"https://api.github.com/users/urfu-2016/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/urfu-2016/subscriptions","organizations_url":"https://api.github.com/users/urfu-2016/orgs","repos_url":"https://api.github.com/users/urfu-2016/repos","events_url":"https://api.github.com/users/urfu-2016/events{/privacy}","received_events_url":"https://api.github.com/users/urfu-2016/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/urfu-2016/javascript-task-3","description":"Задача «0b11 друзей Оушена»","fork":false,"url":"https://api.github.com/repos/urfu-2016/javascript-task-3","forks_url":"https://api.github.com/repos/urfu-2016/javascript-task-3/forks","keys_url":"https://api.github.com/repos/urfu-2016/javascript-task-3/keys{/key_id}","collaborators_url":"https://api.github.com/repos/urfu-2016/javascript-task-3/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/urfu-2016/javascript-task-3/teams","hooks_url":"https://api.github.com/repos/urfu-2016/javascript-task-3/hooks","issue_events_url":"https://api.github.com/repos/urfu-2016/javascript-task-3/issues/events{/number}","events_url":"https://api.github.com/repos/urfu-2016/javascript-task-3/events","assignees_url":"https://api.github.com/repos/urfu-2016/javascript-task-3/assignees{/user}","branches_url":"https://api.github.com/repos/urfu-2016/javascript-task-3/branches{/branch}","tags_url":"https://api.github.com/repos/urfu-2016/javascript-task-3/tags","blobs_url":"https://api.github.com/repos/urfu-2016/javascript-task-3/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/urfu-2016/javascript-task-3/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/urfu-2016/javascript-task-3/git/refs{/sha}","trees_url":"https://api.github.com/repos/urfu-2016/javascript-task-3/git/trees{/sha}","statuses_url":"https://api.github.com/repos/urfu-2016/javascript-task-3/statuses/{sha}","languages_url":"https://api.github.com/repos/urfu-2016/javascript-task-3/languages","stargazers_url":"https://api.github.com/repos/urfu-2016/javascript-task-3/stargazers","contributors_url":"https://api.github.com/repos/urfu-2016/javascript-task-3/contributors","subscribers_url":"https://api.github.com/repos/urfu-2016/javascript-task-3/subscribers","subscription_url":"https://api.github.com/repos/urfu-2016/javascript-task-3/subscription","commits_url":"https://api.github.com/repos/urfu-2016/javascript-task-3/commits{/sha}","git_commits_url":"https://api.github.com/repos/urfu-2016/javascript-task-3/git/commits{/sha}","comments_url":"https://api.github.com/repos/urfu-2016/javascript-task-3/comments{/number}","issue_comment_url":"https://api.github.com/repos/urfu-2016/javascript-task-3/issues/comments{/number}","contents_url":"https://api.github.com/repos/urfu-2016/javascript-task-3/contents/{+path}","compare_url":"https://api.github.com/repos/urfu-2016/javascript-task-3/compare/{base}...{head}","merges_url":"https://api.github.com/repos/urfu-2016/javascript-task-3/merges","archive_url":"https://api.github.com/repos/urfu-2016/javascript-task-3/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/urfu-2016/javascript-task-3/downloads","issues_url":"https://api.github.com/repos/urfu-2016/javascript-task-3/issues{/number}","pulls_url":"https://api.github.com/repos/urfu-2016/javascript-task-3/pulls{/number}","milestones_url":"https://api.github.com/repos/urfu-2016/javascript-task-3/milestones{/number}","notifications_url":"https://api.github.com/repos/urfu-2016/javascript-task-3/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/urfu-2016/javascript-task-3/labels{/name}","releases_url":"https://api.github.com/repos/urfu-2016/javascript-task-3/releases{/id}","deployments_url":"https://api.github.com/repos/urfu-2016/javascript-task-3/deployments","created_at":"2016-10-20T09:49:39Z","updated_at":"2016-10-23T04:31:46Z","pushed_at":"2016-10-27T17:58:51Z","git_url":"git://github.com/urfu-2016/javascript-task-3.git","ssh_url":"git@github.com:urfu-2016/javascript-task-3.git","clone_url":"https://github.com/urfu-2016/javascript-task-3.git","svn_url":"https://github.com/urfu-2016/javascript-task-3","homepage":"","size":111,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":94,"mirror_url":null,"open_issues_count":55,"forks":94,"open_issues":55,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/urfu-2016/javascript-task-3/pulls/27"},"html":{"href":"https://github.com/urfu-2016/javascript-task-3/pull/27"},"issue":{"href":"https://api.github.com/repos/urfu-2016/javascript-task-3/issues/27"},"comments":{"href":"https://api.github.com/repos/urfu-2016/javascript-task-3/issues/27/comments"},"review_comments":{"href":"https://api.github.com/repos/urfu-2016/javascript-task-3/pulls/27/comments"},"review_comment":{"href":"https://api.github.com/repos/urfu-2016/javascript-task-3/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/urfu-2016/javascript-task-3/pulls/27/commits"},"statuses":{"href":"https://api.github.com/repos/urfu-2016/javascript-task-3/statuses/602ae0015a73b3467130a5946c104a0eb49f2a34"}}}}
{"actor":{"display_login":"Dotokoto"}}