{"action":"created","comment":{"url":"https://api.github.com/repos/mapsme/omim/pulls/comments/48951704","id":48951704,"diff_hunk":"@@ -183,7 +183,7 @@ public static String getHttpGe0Url(double lat, double lon, double zoomLevel, Str\n \n   /**\n    * Determines if currently is day or night at the given location. Used to switch day/night styles.\n-   * @param currentTimeUtc current Unix time (returned by {@link System#currentTimeMillis()}).\n+   * @param currentTimeUtc current Unix time (returned by {@link System#currentTimeMillis()} divided by 1000).","path":"android/src/com/mapswithme/maps/Framework.java","position":5,"original_position":5,"commit_id":"013858ec6828bfbe460354284bf86270c4d4cbff","original_commit_id":"013858ec6828bfbe460354284bf86270c4d4cbff","user":{"login":"yunikkk","id":2265924,"avatar_url":"https://avatars.githubusercontent.com/u/2265924?v=3","gravatar_id":"","url":"https://api.github.com/users/yunikkk","html_url":"https://github.com/yunikkk","followers_url":"https://api.github.com/users/yunikkk/followers","following_url":"https://api.github.com/users/yunikkk/following{/other_user}","gists_url":"https://api.github.com/users/yunikkk/gists{/gist_id}","starred_url":"https://api.github.com/users/yunikkk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yunikkk/subscriptions","organizations_url":"https://api.github.com/users/yunikkk/orgs","repos_url":"https://api.github.com/users/yunikkk/repos","events_url":"https://api.github.com/users/yunikkk/events{/privacy}","received_events_url":"https://api.github.com/users/yunikkk/received_events","type":"User","site_admin":false},"body":"Как-то непонятно и запутанно получается. Мы же по факту просто передаём секунды и спрашиваем, день это или ночь. Я предлагаю вообще убрать упоминание current здесь, можно ведь и не текущее время проверять, например. \r\nnativeIsDayTime(long secondsUtc, double lat, double lon);\r\nИ комментарий сократится, и название параметра проще и логичней будет.","created_at":"2016-01-06T12:18:40Z","updated_at":"2016-01-06T12:18:40Z","html_url":"https://github.com/mapsme/omim/pull/1251#discussion_r48951704","pull_request_url":"https://api.github.com/repos/mapsme/omim/pulls/1251","_links":{"self":{"href":"https://api.github.com/repos/mapsme/omim/pulls/comments/48951704"},"html":{"href":"https://github.com/mapsme/omim/pull/1251#discussion_r48951704"},"pull_request":{"href":"https://api.github.com/repos/mapsme/omim/pulls/1251"}}},"pull_request":{"url":"https://api.github.com/repos/mapsme/omim/pulls/1251","id":55205952,"html_url":"https://github.com/mapsme/omim/pull/1251","diff_url":"https://github.com/mapsme/omim/pull/1251.diff","patch_url":"https://github.com/mapsme/omim/pull/1251.patch","issue_url":"https://api.github.com/repos/mapsme/omim/issues/1251","number":1251,"state":"open","locked":false,"title":"[android] fix: Pass current time in seconds to GetDayTime()","user":{"login":"trashkalmar","id":5173794,"avatar_url":"https://avatars.githubusercontent.com/u/5173794?v=3","gravatar_id":"","url":"https://api.github.com/users/trashkalmar","html_url":"https://github.com/trashkalmar","followers_url":"https://api.github.com/users/trashkalmar/followers","following_url":"https://api.github.com/users/trashkalmar/following{/other_user}","gists_url":"https://api.github.com/users/trashkalmar/gists{/gist_id}","starred_url":"https://api.github.com/users/trashkalmar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trashkalmar/subscriptions","organizations_url":"https://api.github.com/users/trashkalmar/orgs","repos_url":"https://api.github.com/users/trashkalmar/repos","events_url":"https://api.github.com/users/trashkalmar/events{/privacy}","received_events_url":"https://api.github.com/users/trashkalmar/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-01-06T12:05:14Z","updated_at":"2016-01-06T12:18:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6a2fde0f9db79d3f6b2cd0d7417901222575e337","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mapsme/omim/pulls/1251/commits","review_comments_url":"https://api.github.com/repos/mapsme/omim/pulls/1251/comments","review_comment_url":"https://api.github.com/repos/mapsme/omim/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mapsme/omim/issues/1251/comments","statuses_url":"https://api.github.com/repos/mapsme/omim/statuses/013858ec6828bfbe460354284bf86270c4d4cbff","head":{"label":"trashkalmar:daytime-in-seconds","ref":"daytime-in-seconds","sha":"013858ec6828bfbe460354284bf86270c4d4cbff","user":{"login":"trashkalmar","id":5173794,"avatar_url":"https://avatars.githubusercontent.com/u/5173794?v=3","gravatar_id":"","url":"https://api.github.com/users/trashkalmar","html_url":"https://github.com/trashkalmar","followers_url":"https://api.github.com/users/trashkalmar/followers","following_url":"https://api.github.com/users/trashkalmar/following{/other_user}","gists_url":"https://api.github.com/users/trashkalmar/gists{/gist_id}","starred_url":"https://api.github.com/users/trashkalmar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trashkalmar/subscriptions","organizations_url":"https://api.github.com/users/trashkalmar/orgs","repos_url":"https://api.github.com/users/trashkalmar/repos","events_url":"https://api.github.com/users/trashkalmar/events{/privacy}","received_events_url":"https://api.github.com/users/trashkalmar/received_events","type":"User","site_admin":false},"repo":{"id":43429123,"name":"omim","full_name":"trashkalmar/omim","owner":{"login":"trashkalmar","id":5173794,"avatar_url":"https://avatars.githubusercontent.com/u/5173794?v=3","gravatar_id":"","url":"https://api.github.com/users/trashkalmar","html_url":"https://github.com/trashkalmar","followers_url":"https://api.github.com/users/trashkalmar/followers","following_url":"https://api.github.com/users/trashkalmar/following{/other_user}","gists_url":"https://api.github.com/users/trashkalmar/gists{/gist_id}","starred_url":"https://api.github.com/users/trashkalmar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trashkalmar/subscriptions","organizations_url":"https://api.github.com/users/trashkalmar/orgs","repos_url":"https://api.github.com/users/trashkalmar/repos","events_url":"https://api.github.com/users/trashkalmar/events{/privacy}","received_events_url":"https://api.github.com/users/trashkalmar/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/trashkalmar/omim","description":"MAPS.ME - Offline OpenStreetMap maps for iOS/Android/Mac/Linux/Windows","fork":true,"url":"https://api.github.com/repos/trashkalmar/omim","forks_url":"https://api.github.com/repos/trashkalmar/omim/forks","keys_url":"https://api.github.com/repos/trashkalmar/omim/keys{/key_id}","collaborators_url":"https://api.github.com/repos/trashkalmar/omim/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/trashkalmar/omim/teams","hooks_url":"https://api.github.com/repos/trashkalmar/omim/hooks","issue_events_url":"https://api.github.com/repos/trashkalmar/omim/issues/events{/number}","events_url":"https://api.github.com/repos/trashkalmar/omim/events","assignees_url":"https://api.github.com/repos/trashkalmar/omim/assignees{/user}","branches_url":"https://api.github.com/repos/trashkalmar/omim/branches{/branch}","tags_url":"https://api.github.com/repos/trashkalmar/omim/tags","blobs_url":"https://api.github.com/repos/trashkalmar/omim/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/trashkalmar/omim/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/trashkalmar/omim/git/refs{/sha}","trees_url":"https://api.github.com/repos/trashkalmar/omim/git/trees{/sha}","statuses_url":"https://api.github.com/repos/trashkalmar/omim/statuses/{sha}","languages_url":"https://api.github.com/repos/trashkalmar/omim/languages","stargazers_url":"https://api.github.com/repos/trashkalmar/omim/stargazers","contributors_url":"https://api.github.com/repos/trashkalmar/omim/contributors","subscribers_url":"https://api.github.com/repos/trashkalmar/omim/subscribers","subscription_url":"https://api.github.com/repos/trashkalmar/omim/subscription","commits_url":"https://api.github.com/repos/trashkalmar/omim/commits{/sha}","git_commits_url":"https://api.github.com/repos/trashkalmar/omim/git/commits{/sha}","comments_url":"https://api.github.com/repos/trashkalmar/omim/comments{/number}","issue_comment_url":"https://api.github.com/repos/trashkalmar/omim/issues/comments{/number}","contents_url":"https://api.github.com/repos/trashkalmar/omim/contents/{+path}","compare_url":"https://api.github.com/repos/trashkalmar/omim/compare/{base}...{head}","merges_url":"https://api.github.com/repos/trashkalmar/omim/merges","archive_url":"https://api.github.com/repos/trashkalmar/omim/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/trashkalmar/omim/downloads","issues_url":"https://api.github.com/repos/trashkalmar/omim/issues{/number}","pulls_url":"https://api.github.com/repos/trashkalmar/omim/pulls{/number}","milestones_url":"https://api.github.com/repos/trashkalmar/omim/milestones{/number}","notifications_url":"https://api.github.com/repos/trashkalmar/omim/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/trashkalmar/omim/labels{/name}","releases_url":"https://api.github.com/repos/trashkalmar/omim/releases{/id}","created_at":"2015-09-30T11:28:06Z","updated_at":"2015-09-30T11:30:16Z","pushed_at":"2016-01-06T12:04:48Z","git_url":"git://github.com/trashkalmar/omim.git","ssh_url":"git@github.com:trashkalmar/omim.git","clone_url":"https://github.com/trashkalmar/omim.git","svn_url":"https://github.com/trashkalmar/omim","homepage":null,"size":1952427,"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":"mapsme:night-theme","ref":"night-theme","sha":"efdec72596a75087f50b359533488f6e6f9a1945","user":{"login":"mapsme","id":14185141,"avatar_url":"https://avatars.githubusercontent.com/u/14185141?v=3","gravatar_id":"","url":"https://api.github.com/users/mapsme","html_url":"https://github.com/mapsme","followers_url":"https://api.github.com/users/mapsme/followers","following_url":"https://api.github.com/users/mapsme/following{/other_user}","gists_url":"https://api.github.com/users/mapsme/gists{/gist_id}","starred_url":"https://api.github.com/users/mapsme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mapsme/subscriptions","organizations_url":"https://api.github.com/users/mapsme/orgs","repos_url":"https://api.github.com/users/mapsme/repos","events_url":"https://api.github.com/users/mapsme/events{/privacy}","received_events_url":"https://api.github.com/users/mapsme/received_events","type":"Organization","site_admin":false},"repo":{"id":42798033,"name":"omim","full_name":"mapsme/omim","owner":{"login":"mapsme","id":14185141,"avatar_url":"https://avatars.githubusercontent.com/u/14185141?v=3","gravatar_id":"","url":"https://api.github.com/users/mapsme","html_url":"https://github.com/mapsme","followers_url":"https://api.github.com/users/mapsme/followers","following_url":"https://api.github.com/users/mapsme/following{/other_user}","gists_url":"https://api.github.com/users/mapsme/gists{/gist_id}","starred_url":"https://api.github.com/users/mapsme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mapsme/subscriptions","organizations_url":"https://api.github.com/users/mapsme/orgs","repos_url":"https://api.github.com/users/mapsme/repos","events_url":"https://api.github.com/users/mapsme/events{/privacy}","received_events_url":"https://api.github.com/users/mapsme/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mapsme/omim","description":"MAPS.ME - Offline OpenStreetMap maps for iOS/Android/Mac/Linux/Windows","fork":false,"url":"https://api.github.com/repos/mapsme/omim","forks_url":"https://api.github.com/repos/mapsme/omim/forks","keys_url":"https://api.github.com/repos/mapsme/omim/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mapsme/omim/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mapsme/omim/teams","hooks_url":"https://api.github.com/repos/mapsme/omim/hooks","issue_events_url":"https://api.github.com/repos/mapsme/omim/issues/events{/number}","events_url":"https://api.github.com/repos/mapsme/omim/events","assignees_url":"https://api.github.com/repos/mapsme/omim/assignees{/user}","branches_url":"https://api.github.com/repos/mapsme/omim/branches{/branch}","tags_url":"https://api.github.com/repos/mapsme/omim/tags","blobs_url":"https://api.github.com/repos/mapsme/omim/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mapsme/omim/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mapsme/omim/git/refs{/sha}","trees_url":"https://api.github.com/repos/mapsme/omim/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mapsme/omim/statuses/{sha}","languages_url":"https://api.github.com/repos/mapsme/omim/languages","stargazers_url":"https://api.github.com/repos/mapsme/omim/stargazers","contributors_url":"https://api.github.com/repos/mapsme/omim/contributors","subscribers_url":"https://api.github.com/repos/mapsme/omim/subscribers","subscription_url":"https://api.github.com/repos/mapsme/omim/subscription","commits_url":"https://api.github.com/repos/mapsme/omim/commits{/sha}","git_commits_url":"https://api.github.com/repos/mapsme/omim/git/commits{/sha}","comments_url":"https://api.github.com/repos/mapsme/omim/comments{/number}","issue_comment_url":"https://api.github.com/repos/mapsme/omim/issues/comments{/number}","contents_url":"https://api.github.com/repos/mapsme/omim/contents/{+path}","compare_url":"https://api.github.com/repos/mapsme/omim/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mapsme/omim/merges","archive_url":"https://api.github.com/repos/mapsme/omim/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mapsme/omim/downloads","issues_url":"https://api.github.com/repos/mapsme/omim/issues{/number}","pulls_url":"https://api.github.com/repos/mapsme/omim/pulls{/number}","milestones_url":"https://api.github.com/repos/mapsme/omim/milestones{/number}","notifications_url":"https://api.github.com/repos/mapsme/omim/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mapsme/omim/labels{/name}","releases_url":"https://api.github.com/repos/mapsme/omim/releases{/id}","created_at":"2015-09-20T02:57:13Z","updated_at":"2016-01-05T03:16:55Z","pushed_at":"2016-01-06T12:05:15Z","git_url":"git://github.com/mapsme/omim.git","ssh_url":"git@github.com:mapsme/omim.git","clone_url":"https://github.com/mapsme/omim.git","svn_url":"https://github.com/mapsme/omim","homepage":null,"size":1990382,"stargazers_count":1565,"watchers_count":1565,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":202,"mirror_url":null,"open_issues_count":103,"forks":202,"open_issues":103,"watchers":1565,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mapsme/omim/pulls/1251"},"html":{"href":"https://github.com/mapsme/omim/pull/1251"},"issue":{"href":"https://api.github.com/repos/mapsme/omim/issues/1251"},"comments":{"href":"https://api.github.com/repos/mapsme/omim/issues/1251/comments"},"review_comments":{"href":"https://api.github.com/repos/mapsme/omim/pulls/1251/comments"},"review_comment":{"href":"https://api.github.com/repos/mapsme/omim/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mapsme/omim/pulls/1251/commits"},"statuses":{"href":"https://api.github.com/repos/mapsme/omim/statuses/013858ec6828bfbe460354284bf86270c4d4cbff"}}}}