{"action":"opened","number":2227,"pull_request":{"url":"https://api.github.com/repos/mono/mono/pulls/2227","id":50554344,"html_url":"https://github.com/mono/mono/pull/2227","diff_url":"https://github.com/mono/mono/pull/2227.diff","patch_url":"https://github.com/mono/mono/pull/2227.patch","issue_url":"https://api.github.com/repos/mono/mono/issues/2227","number":2227,"state":"open","locked":false,"title":"[corlib] Fixes TimeZoneInfo.ParseTZBuffer abbrevs.","user":{"login":"esdrubal","id":1188095,"avatar_url":"https://avatars.githubusercontent.com/u/1188095?v=3","gravatar_id":"","url":"https://api.github.com/users/esdrubal","html_url":"https://github.com/esdrubal","followers_url":"https://api.github.com/users/esdrubal/followers","following_url":"https://api.github.com/users/esdrubal/following{/other_user}","gists_url":"https://api.github.com/users/esdrubal/gists{/gist_id}","starred_url":"https://api.github.com/users/esdrubal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/esdrubal/subscriptions","organizations_url":"https://api.github.com/users/esdrubal/orgs","repos_url":"https://api.github.com/users/esdrubal/repos","events_url":"https://api.github.com/users/esdrubal/events{/privacy}","received_events_url":"https://api.github.com/users/esdrubal/received_events","type":"User","site_admin":false},"body":"Context: https://bugzilla.xamarin.com/show_bug.cgi?id=31432\r\n\r\nIn a few android devices TimeZoneInfo.ParseTZBuffer was failing ito\r\nparse Europe/Moscow with:\r\nat System.ThrowHelper.ThrowKeyNotFoundException ()\r\nat System.Collections.Generic.Dictionary`2[System.Int32,System.String].get_Item (Int32 key)mscorlib/system/collections/generic/dictionary.cs:176\r\nat System.TimeZoneInfo.ParseTimesTypes (System.Byte[] buffer, Int32 index, Int32 count, System.Collections.Generic.Dictionary`2 abbreviations) [0x0002f] in mcs/class/corlib/System/TimeZoneInfo.cs:1293\r\nat System.TimeZoneInfo.ParseTZBuffer (System.String id, System.Byte[] buffer, Int32 length)\r\n\r\nIt was failing while getting the third index [3] from] from abbrevs.\r\n\r\nabbrevs added values were the following:\r\n[0, MMT]\r\n[1, MT]\r\n[2, T]\r\n[4, MST]\r\n[5, ST]\r\n[6, T]\r\n[8, MDST]\r\n[9, DST]\r\n[10, ST]\r\n[11, T]\r\n[13, S]\r\n[15, M]\r\n[17, MSK]\r\n[18, SK]\r\n[19, K]\r\n[21, EET]\r\n[22, ET]\r\n[23, T]\r\n[25, MSD]\r\n[26, SD]\r\n[27, D]\r\n[29, EEST]\r\n[30, EST]\r\n[31, ST]\r\n[32, T]\r\n\r\nIndex 3 was not added because its values is an empty string, as indexes\r\nwith empty values are used in this case we are now adding them to the\r\nabbrevs dictionary.\r\n\r\nFixes #31432","created_at":"2015-11-12T19:17:19Z","updated_at":"2015-11-12T19:17:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mono/mono/pulls/2227/commits","review_comments_url":"https://api.github.com/repos/mono/mono/pulls/2227/comments","review_comment_url":"https://api.github.com/repos/mono/mono/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mono/mono/issues/2227/comments","statuses_url":"https://api.github.com/repos/mono/mono/statuses/f1f64a9f637e1d9be76d1bb75d0a8e0681909445","head":{"label":"esdrubal:tzparse","ref":"tzparse","sha":"f1f64a9f637e1d9be76d1bb75d0a8e0681909445","user":{"login":"esdrubal","id":1188095,"avatar_url":"https://avatars.githubusercontent.com/u/1188095?v=3","gravatar_id":"","url":"https://api.github.com/users/esdrubal","html_url":"https://github.com/esdrubal","followers_url":"https://api.github.com/users/esdrubal/followers","following_url":"https://api.github.com/users/esdrubal/following{/other_user}","gists_url":"https://api.github.com/users/esdrubal/gists{/gist_id}","starred_url":"https://api.github.com/users/esdrubal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/esdrubal/subscriptions","organizations_url":"https://api.github.com/users/esdrubal/orgs","repos_url":"https://api.github.com/users/esdrubal/repos","events_url":"https://api.github.com/users/esdrubal/events{/privacy}","received_events_url":"https://api.github.com/users/esdrubal/received_events","type":"User","site_admin":false},"repo":{"id":19627257,"name":"mono","full_name":"esdrubal/mono","owner":{"login":"esdrubal","id":1188095,"avatar_url":"https://avatars.githubusercontent.com/u/1188095?v=3","gravatar_id":"","url":"https://api.github.com/users/esdrubal","html_url":"https://github.com/esdrubal","followers_url":"https://api.github.com/users/esdrubal/followers","following_url":"https://api.github.com/users/esdrubal/following{/other_user}","gists_url":"https://api.github.com/users/esdrubal/gists{/gist_id}","starred_url":"https://api.github.com/users/esdrubal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/esdrubal/subscriptions","organizations_url":"https://api.github.com/users/esdrubal/orgs","repos_url":"https://api.github.com/users/esdrubal/repos","events_url":"https://api.github.com/users/esdrubal/events{/privacy}","received_events_url":"https://api.github.com/users/esdrubal/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/esdrubal/mono","description":"Mono open source ECMA CLI, C# and .NET implementation.","fork":true,"url":"https://api.github.com/repos/esdrubal/mono","forks_url":"https://api.github.com/repos/esdrubal/mono/forks","keys_url":"https://api.github.com/repos/esdrubal/mono/keys{/key_id}","collaborators_url":"https://api.github.com/repos/esdrubal/mono/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/esdrubal/mono/teams","hooks_url":"https://api.github.com/repos/esdrubal/mono/hooks","issue_events_url":"https://api.github.com/repos/esdrubal/mono/issues/events{/number}","events_url":"https://api.github.com/repos/esdrubal/mono/events","assignees_url":"https://api.github.com/repos/esdrubal/mono/assignees{/user}","branches_url":"https://api.github.com/repos/esdrubal/mono/branches{/branch}","tags_url":"https://api.github.com/repos/esdrubal/mono/tags","blobs_url":"https://api.github.com/repos/esdrubal/mono/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/esdrubal/mono/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/esdrubal/mono/git/refs{/sha}","trees_url":"https://api.github.com/repos/esdrubal/mono/git/trees{/sha}","statuses_url":"https://api.github.com/repos/esdrubal/mono/statuses/{sha}","languages_url":"https://api.github.com/repos/esdrubal/mono/languages","stargazers_url":"https://api.github.com/repos/esdrubal/mono/stargazers","contributors_url":"https://api.github.com/repos/esdrubal/mono/contributors","subscribers_url":"https://api.github.com/repos/esdrubal/mono/subscribers","subscription_url":"https://api.github.com/repos/esdrubal/mono/subscription","commits_url":"https://api.github.com/repos/esdrubal/mono/commits{/sha}","git_commits_url":"https://api.github.com/repos/esdrubal/mono/git/commits{/sha}","comments_url":"https://api.github.com/repos/esdrubal/mono/comments{/number}","issue_comment_url":"https://api.github.com/repos/esdrubal/mono/issues/comments{/number}","contents_url":"https://api.github.com/repos/esdrubal/mono/contents/{+path}","compare_url":"https://api.github.com/repos/esdrubal/mono/compare/{base}...{head}","merges_url":"https://api.github.com/repos/esdrubal/mono/merges","archive_url":"https://api.github.com/repos/esdrubal/mono/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/esdrubal/mono/downloads","issues_url":"https://api.github.com/repos/esdrubal/mono/issues{/number}","pulls_url":"https://api.github.com/repos/esdrubal/mono/pulls{/number}","milestones_url":"https://api.github.com/repos/esdrubal/mono/milestones{/number}","notifications_url":"https://api.github.com/repos/esdrubal/mono/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/esdrubal/mono/labels{/name}","releases_url":"https://api.github.com/repos/esdrubal/mono/releases{/id}","created_at":"2014-05-09T22:14:45Z","updated_at":"2015-05-04T14:46:05Z","pushed_at":"2015-11-12T19:16:16Z","git_url":"git://github.com/esdrubal/mono.git","ssh_url":"git@github.com:esdrubal/mono.git","clone_url":"https://github.com/esdrubal/mono.git","svn_url":"https://github.com/esdrubal/mono","homepage":"http://www.mono-project.com/","size":449265,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_downloads":false,"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":"mono:master","ref":"master","sha":"475d00292a527a58df4ab5e0e5d38c2af95ac770","user":{"login":"mono","id":53395,"avatar_url":"https://avatars.githubusercontent.com/u/53395?v=3","gravatar_id":"","url":"https://api.github.com/users/mono","html_url":"https://github.com/mono","followers_url":"https://api.github.com/users/mono/followers","following_url":"https://api.github.com/users/mono/following{/other_user}","gists_url":"https://api.github.com/users/mono/gists{/gist_id}","starred_url":"https://api.github.com/users/mono/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mono/subscriptions","organizations_url":"https://api.github.com/users/mono/orgs","repos_url":"https://api.github.com/users/mono/repos","events_url":"https://api.github.com/users/mono/events{/privacy}","received_events_url":"https://api.github.com/users/mono/received_events","type":"Organization","site_admin":false},"repo":{"id":791611,"name":"mono","full_name":"mono/mono","owner":{"login":"mono","id":53395,"avatar_url":"https://avatars.githubusercontent.com/u/53395?v=3","gravatar_id":"","url":"https://api.github.com/users/mono","html_url":"https://github.com/mono","followers_url":"https://api.github.com/users/mono/followers","following_url":"https://api.github.com/users/mono/following{/other_user}","gists_url":"https://api.github.com/users/mono/gists{/gist_id}","starred_url":"https://api.github.com/users/mono/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mono/subscriptions","organizations_url":"https://api.github.com/users/mono/orgs","repos_url":"https://api.github.com/users/mono/repos","events_url":"https://api.github.com/users/mono/events{/privacy}","received_events_url":"https://api.github.com/users/mono/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mono/mono","description":"Mono open source ECMA CLI, C# and .NET implementation.","fork":false,"url":"https://api.github.com/repos/mono/mono","forks_url":"https://api.github.com/repos/mono/mono/forks","keys_url":"https://api.github.com/repos/mono/mono/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mono/mono/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mono/mono/teams","hooks_url":"https://api.github.com/repos/mono/mono/hooks","issue_events_url":"https://api.github.com/repos/mono/mono/issues/events{/number}","events_url":"https://api.github.com/repos/mono/mono/events","assignees_url":"https://api.github.com/repos/mono/mono/assignees{/user}","branches_url":"https://api.github.com/repos/mono/mono/branches{/branch}","tags_url":"https://api.github.com/repos/mono/mono/tags","blobs_url":"https://api.github.com/repos/mono/mono/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mono/mono/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mono/mono/git/refs{/sha}","trees_url":"https://api.github.com/repos/mono/mono/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mono/mono/statuses/{sha}","languages_url":"https://api.github.com/repos/mono/mono/languages","stargazers_url":"https://api.github.com/repos/mono/mono/stargazers","contributors_url":"https://api.github.com/repos/mono/mono/contributors","subscribers_url":"https://api.github.com/repos/mono/mono/subscribers","subscription_url":"https://api.github.com/repos/mono/mono/subscription","commits_url":"https://api.github.com/repos/mono/mono/commits{/sha}","git_commits_url":"https://api.github.com/repos/mono/mono/git/commits{/sha}","comments_url":"https://api.github.com/repos/mono/mono/comments{/number}","issue_comment_url":"https://api.github.com/repos/mono/mono/issues/comments{/number}","contents_url":"https://api.github.com/repos/mono/mono/contents/{+path}","compare_url":"https://api.github.com/repos/mono/mono/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mono/mono/merges","archive_url":"https://api.github.com/repos/mono/mono/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mono/mono/downloads","issues_url":"https://api.github.com/repos/mono/mono/issues{/number}","pulls_url":"https://api.github.com/repos/mono/mono/pulls{/number}","milestones_url":"https://api.github.com/repos/mono/mono/milestones{/number}","notifications_url":"https://api.github.com/repos/mono/mono/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mono/mono/labels{/name}","releases_url":"https://api.github.com/repos/mono/mono/releases{/id}","created_at":"2010-07-22T18:06:36Z","updated_at":"2015-11-12T17:08:06Z","pushed_at":"2015-11-12T19:15:53Z","git_url":"git://github.com/mono/mono.git","ssh_url":"git@github.com:mono/mono.git","clone_url":"https://github.com/mono/mono.git","svn_url":"https://github.com/mono/mono","homepage":"http://www.mono-project.com/","size":1656879,"stargazers_count":3995,"watchers_count":3995,"language":"C#","has_issues":false,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":1980,"mirror_url":null,"open_issues_count":112,"forks":1980,"open_issues":112,"watchers":3995,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mono/mono/pulls/2227"},"html":{"href":"https://github.com/mono/mono/pull/2227"},"issue":{"href":"https://api.github.com/repos/mono/mono/issues/2227"},"comments":{"href":"https://api.github.com/repos/mono/mono/issues/2227/comments"},"review_comments":{"href":"https://api.github.com/repos/mono/mono/pulls/2227/comments"},"review_comment":{"href":"https://api.github.com/repos/mono/mono/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mono/mono/pulls/2227/commits"},"statuses":{"href":"https://api.github.com/repos/mono/mono/statuses/f1f64a9f637e1d9be76d1bb75d0a8e0681909445"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":28,"deletions":1,"changed_files":2}}