{"action":"created","comment":{"url":"https://api.github.com/repos/mybb/mybb/pulls/comments/33139051","id":33139051,"diff_hunk":"@@ -6601,16 +6601,13 @@ function is_banned_ip($ip_address, $update_lastuse=false)\n }\n \n /**\n- * Build a time zone selection list.\n+ * Returns an array of supported timezones\n  *\n- * @param string The name of the select\n- * @param int The selected time zone (defaults to GMT)\n- * @param boolean True to generate a \"short\" list with just timezone and current time\n+ * @return double[] Key is timezone offset, Value the language description","path":"inc/functions.php","position":10,"original_position":10,"commit_id":"c3551b5fb3357c7bc3268b4117b401bc83bdf168","original_commit_id":"c3551b5fb3357c7bc3268b4117b401bc83bdf168","user":{"login":"JN-Jones","id":1917879,"avatar_url":"https://avatars.githubusercontent.com/u/1917879?v=3","gravatar_id":"","url":"https://api.github.com/users/JN-Jones","html_url":"https://github.com/JN-Jones","followers_url":"https://api.github.com/users/JN-Jones/followers","following_url":"https://api.github.com/users/JN-Jones/following{/other_user}","gists_url":"https://api.github.com/users/JN-Jones/gists{/gist_id}","starred_url":"https://api.github.com/users/JN-Jones/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JN-Jones/subscriptions","organizations_url":"https://api.github.com/users/JN-Jones/orgs","repos_url":"https://api.github.com/users/JN-Jones/repos","events_url":"https://api.github.com/users/JN-Jones/events{/privacy}","received_events_url":"https://api.github.com/users/JN-Jones/received_events","type":"User","site_admin":false},"body":"But it's not an array of `double` values, is it?","created_at":"2015-06-24T11:32:02Z","updated_at":"2015-06-24T11:32:02Z","html_url":"https://github.com/mybb/mybb/pull/2000#discussion_r33139051","pull_request_url":"https://api.github.com/repos/mybb/mybb/pulls/2000","_links":{"self":{"href":"https://api.github.com/repos/mybb/mybb/pulls/comments/33139051"},"html":{"href":"https://github.com/mybb/mybb/pull/2000#discussion_r33139051"},"pull_request":{"href":"https://api.github.com/repos/mybb/mybb/pulls/2000"}}},"pull_request":{"url":"https://api.github.com/repos/mybb/mybb/pulls/2000","id":36485635,"html_url":"https://github.com/mybb/mybb/pull/2000","diff_url":"https://github.com/mybb/mybb/pull/2000.diff","patch_url":"https://github.com/mybb/mybb/pull/2000.patch","issue_url":"https://api.github.com/repos/mybb/mybb/issues/2000","number":2000,"state":"open","locked":false,"title":"Fix #1999 wrong timezone when adding user via Admin-CP","user":{"login":"psde","id":186267,"avatar_url":"https://avatars.githubusercontent.com/u/186267?v=3","gravatar_id":"","url":"https://api.github.com/users/psde","html_url":"https://github.com/psde","followers_url":"https://api.github.com/users/psde/followers","following_url":"https://api.github.com/users/psde/following{/other_user}","gists_url":"https://api.github.com/users/psde/gists{/gist_id}","starred_url":"https://api.github.com/users/psde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/psde/subscriptions","organizations_url":"https://api.github.com/users/psde/orgs","repos_url":"https://api.github.com/users/psde/repos","events_url":"https://api.github.com/users/psde/events{/privacy}","received_events_url":"https://api.github.com/users/psde/received_events","type":"User","site_admin":false},"body":"Fixes wrong timezone of users which are manually added via the Admin-CP by assigning the default board timezone.\r\n\r\nhttps://github.com/mybb/mybb/issues/1999","created_at":"2015-05-29T08:54:20Z","updated_at":"2015-06-24T11:32:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b82bc7e40bd395bb781059b0a90983c9caf23f61","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mybb/mybb/pulls/2000/commits","review_comments_url":"https://api.github.com/repos/mybb/mybb/pulls/2000/comments","review_comment_url":"https://api.github.com/repos/mybb/mybb/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mybb/mybb/issues/2000/comments","statuses_url":"https://api.github.com/repos/mybb/mybb/statuses/c3551b5fb3357c7bc3268b4117b401bc83bdf168","head":{"label":"psde:fix-1999","ref":"fix-1999","sha":"c3551b5fb3357c7bc3268b4117b401bc83bdf168","user":{"login":"psde","id":186267,"avatar_url":"https://avatars.githubusercontent.com/u/186267?v=3","gravatar_id":"","url":"https://api.github.com/users/psde","html_url":"https://github.com/psde","followers_url":"https://api.github.com/users/psde/followers","following_url":"https://api.github.com/users/psde/following{/other_user}","gists_url":"https://api.github.com/users/psde/gists{/gist_id}","starred_url":"https://api.github.com/users/psde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/psde/subscriptions","organizations_url":"https://api.github.com/users/psde/orgs","repos_url":"https://api.github.com/users/psde/repos","events_url":"https://api.github.com/users/psde/events{/privacy}","received_events_url":"https://api.github.com/users/psde/received_events","type":"User","site_admin":false},"repo":{"id":36353679,"name":"mybb","full_name":"psde/mybb","owner":{"login":"psde","id":186267,"avatar_url":"https://avatars.githubusercontent.com/u/186267?v=3","gravatar_id":"","url":"https://api.github.com/users/psde","html_url":"https://github.com/psde","followers_url":"https://api.github.com/users/psde/followers","following_url":"https://api.github.com/users/psde/following{/other_user}","gists_url":"https://api.github.com/users/psde/gists{/gist_id}","starred_url":"https://api.github.com/users/psde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/psde/subscriptions","organizations_url":"https://api.github.com/users/psde/orgs","repos_url":"https://api.github.com/users/psde/repos","events_url":"https://api.github.com/users/psde/events{/privacy}","received_events_url":"https://api.github.com/users/psde/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/psde/mybb","description":"MyBB is a free and open source forum software.","fork":true,"url":"https://api.github.com/repos/psde/mybb","forks_url":"https://api.github.com/repos/psde/mybb/forks","keys_url":"https://api.github.com/repos/psde/mybb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/psde/mybb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/psde/mybb/teams","hooks_url":"https://api.github.com/repos/psde/mybb/hooks","issue_events_url":"https://api.github.com/repos/psde/mybb/issues/events{/number}","events_url":"https://api.github.com/repos/psde/mybb/events","assignees_url":"https://api.github.com/repos/psde/mybb/assignees{/user}","branches_url":"https://api.github.com/repos/psde/mybb/branches{/branch}","tags_url":"https://api.github.com/repos/psde/mybb/tags","blobs_url":"https://api.github.com/repos/psde/mybb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/psde/mybb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/psde/mybb/git/refs{/sha}","trees_url":"https://api.github.com/repos/psde/mybb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/psde/mybb/statuses/{sha}","languages_url":"https://api.github.com/repos/psde/mybb/languages","stargazers_url":"https://api.github.com/repos/psde/mybb/stargazers","contributors_url":"https://api.github.com/repos/psde/mybb/contributors","subscribers_url":"https://api.github.com/repos/psde/mybb/subscribers","subscription_url":"https://api.github.com/repos/psde/mybb/subscription","commits_url":"https://api.github.com/repos/psde/mybb/commits{/sha}","git_commits_url":"https://api.github.com/repos/psde/mybb/git/commits{/sha}","comments_url":"https://api.github.com/repos/psde/mybb/comments{/number}","issue_comment_url":"https://api.github.com/repos/psde/mybb/issues/comments{/number}","contents_url":"https://api.github.com/repos/psde/mybb/contents/{+path}","compare_url":"https://api.github.com/repos/psde/mybb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/psde/mybb/merges","archive_url":"https://api.github.com/repos/psde/mybb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/psde/mybb/downloads","issues_url":"https://api.github.com/repos/psde/mybb/issues{/number}","pulls_url":"https://api.github.com/repos/psde/mybb/pulls{/number}","milestones_url":"https://api.github.com/repos/psde/mybb/milestones{/number}","notifications_url":"https://api.github.com/repos/psde/mybb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/psde/mybb/labels{/name}","releases_url":"https://api.github.com/repos/psde/mybb/releases{/id}","created_at":"2015-05-27T08:26:37Z","updated_at":"2015-05-27T08:26:39Z","pushed_at":"2015-06-23T19:10:01Z","git_url":"git://github.com/psde/mybb.git","ssh_url":"git@github.com:psde/mybb.git","clone_url":"https://github.com/psde/mybb.git","svn_url":"https://github.com/psde/mybb","homepage":"http://www.mybb.com","size":26571,"stargazers_count":0,"watchers_count":0,"language":"PHP","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":"feature"}},"base":{"label":"mybb:feature","ref":"feature","sha":"a90f96d09b47e33748dbbd3244d798563d50ef9e","user":{"login":"mybb","id":328641,"avatar_url":"https://avatars.githubusercontent.com/u/328641?v=3","gravatar_id":"","url":"https://api.github.com/users/mybb","html_url":"https://github.com/mybb","followers_url":"https://api.github.com/users/mybb/followers","following_url":"https://api.github.com/users/mybb/following{/other_user}","gists_url":"https://api.github.com/users/mybb/gists{/gist_id}","starred_url":"https://api.github.com/users/mybb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mybb/subscriptions","organizations_url":"https://api.github.com/users/mybb/orgs","repos_url":"https://api.github.com/users/mybb/repos","events_url":"https://api.github.com/users/mybb/events{/privacy}","received_events_url":"https://api.github.com/users/mybb/received_events","type":"Organization","site_admin":false},"repo":{"id":4649599,"name":"mybb","full_name":"mybb/mybb","owner":{"login":"mybb","id":328641,"avatar_url":"https://avatars.githubusercontent.com/u/328641?v=3","gravatar_id":"","url":"https://api.github.com/users/mybb","html_url":"https://github.com/mybb","followers_url":"https://api.github.com/users/mybb/followers","following_url":"https://api.github.com/users/mybb/following{/other_user}","gists_url":"https://api.github.com/users/mybb/gists{/gist_id}","starred_url":"https://api.github.com/users/mybb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mybb/subscriptions","organizations_url":"https://api.github.com/users/mybb/orgs","repos_url":"https://api.github.com/users/mybb/repos","events_url":"https://api.github.com/users/mybb/events{/privacy}","received_events_url":"https://api.github.com/users/mybb/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mybb/mybb","description":"MyBB is a free and open source forum software.","fork":false,"url":"https://api.github.com/repos/mybb/mybb","forks_url":"https://api.github.com/repos/mybb/mybb/forks","keys_url":"https://api.github.com/repos/mybb/mybb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mybb/mybb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mybb/mybb/teams","hooks_url":"https://api.github.com/repos/mybb/mybb/hooks","issue_events_url":"https://api.github.com/repos/mybb/mybb/issues/events{/number}","events_url":"https://api.github.com/repos/mybb/mybb/events","assignees_url":"https://api.github.com/repos/mybb/mybb/assignees{/user}","branches_url":"https://api.github.com/repos/mybb/mybb/branches{/branch}","tags_url":"https://api.github.com/repos/mybb/mybb/tags","blobs_url":"https://api.github.com/repos/mybb/mybb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mybb/mybb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mybb/mybb/git/refs{/sha}","trees_url":"https://api.github.com/repos/mybb/mybb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mybb/mybb/statuses/{sha}","languages_url":"https://api.github.com/repos/mybb/mybb/languages","stargazers_url":"https://api.github.com/repos/mybb/mybb/stargazers","contributors_url":"https://api.github.com/repos/mybb/mybb/contributors","subscribers_url":"https://api.github.com/repos/mybb/mybb/subscribers","subscription_url":"https://api.github.com/repos/mybb/mybb/subscription","commits_url":"https://api.github.com/repos/mybb/mybb/commits{/sha}","git_commits_url":"https://api.github.com/repos/mybb/mybb/git/commits{/sha}","comments_url":"https://api.github.com/repos/mybb/mybb/comments{/number}","issue_comment_url":"https://api.github.com/repos/mybb/mybb/issues/comments{/number}","contents_url":"https://api.github.com/repos/mybb/mybb/contents/{+path}","compare_url":"https://api.github.com/repos/mybb/mybb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mybb/mybb/merges","archive_url":"https://api.github.com/repos/mybb/mybb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mybb/mybb/downloads","issues_url":"https://api.github.com/repos/mybb/mybb/issues{/number}","pulls_url":"https://api.github.com/repos/mybb/mybb/pulls{/number}","milestones_url":"https://api.github.com/repos/mybb/mybb/milestones{/number}","notifications_url":"https://api.github.com/repos/mybb/mybb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mybb/mybb/labels{/name}","releases_url":"https://api.github.com/repos/mybb/mybb/releases{/id}","created_at":"2012-06-13T10:34:46Z","updated_at":"2015-06-23T01:25:40Z","pushed_at":"2015-06-24T11:28:51Z","git_url":"git://github.com/mybb/mybb.git","ssh_url":"git@github.com:mybb/mybb.git","clone_url":"https://github.com/mybb/mybb.git","svn_url":"https://github.com/mybb/mybb","homepage":"http://www.mybb.com","size":40011,"stargazers_count":253,"watchers_count":253,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":202,"mirror_url":null,"open_issues_count":159,"forks":202,"open_issues":159,"watchers":253,"default_branch":"feature"}},"_links":{"self":{"href":"https://api.github.com/repos/mybb/mybb/pulls/2000"},"html":{"href":"https://github.com/mybb/mybb/pull/2000"},"issue":{"href":"https://api.github.com/repos/mybb/mybb/issues/2000"},"comments":{"href":"https://api.github.com/repos/mybb/mybb/issues/2000/comments"},"review_comments":{"href":"https://api.github.com/repos/mybb/mybb/pulls/2000/comments"},"review_comment":{"href":"https://api.github.com/repos/mybb/mybb/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mybb/mybb/pulls/2000/commits"},"statuses":{"href":"https://api.github.com/repos/mybb/mybb/statuses/c3551b5fb3357c7bc3268b4117b401bc83bdf168"}}}}