{"action":"created","issue":{"url":"https://api.github.com/repos/tc39/ecma402/issues/34","labels_url":"https://api.github.com/repos/tc39/ecma402/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/tc39/ecma402/issues/34/comments","events_url":"https://api.github.com/repos/tc39/ecma402/issues/34/events","html_url":"https://github.com/tc39/ecma402/issues/34","id":106678178,"number":34,"title":"Intl.PluralForm","user":{"login":"zbraniecki","id":449986,"avatar_url":"https://avatars.githubusercontent.com/u/449986?v=3","gravatar_id":"","url":"https://api.github.com/users/zbraniecki","html_url":"https://github.com/zbraniecki","followers_url":"https://api.github.com/users/zbraniecki/followers","following_url":"https://api.github.com/users/zbraniecki/following{/other_user}","gists_url":"https://api.github.com/users/zbraniecki/gists{/gist_id}","starred_url":"https://api.github.com/users/zbraniecki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zbraniecki/subscriptions","organizations_url":"https://api.github.com/users/zbraniecki/orgs","repos_url":"https://api.github.com/users/zbraniecki/repos","events_url":"https://api.github.com/users/zbraniecki/events{/privacy}","received_events_url":"https://api.github.com/users/zbraniecki/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/tc39/ecma402/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"ericf","id":29096,"avatar_url":"https://avatars.githubusercontent.com/u/29096?v=3","gravatar_id":"","url":"https://api.github.com/users/ericf","html_url":"https://github.com/ericf","followers_url":"https://api.github.com/users/ericf/followers","following_url":"https://api.github.com/users/ericf/following{/other_user}","gists_url":"https://api.github.com/users/ericf/gists{/gist_id}","starred_url":"https://api.github.com/users/ericf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericf/subscriptions","organizations_url":"https://api.github.com/users/ericf/orgs","repos_url":"https://api.github.com/users/ericf/repos","events_url":"https://api.github.com/users/ericf/events{/privacy}","received_events_url":"https://api.github.com/users/ericf/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/tc39/ecma402/milestones/1","html_url":"https://github.com/tc39/ecma402/milestones/3rd%20Edition","labels_url":"https://api.github.com/repos/tc39/ecma402/milestones/1/labels","id":1310736,"number":1,"title":"3rd Edition","description":null,"creator":{"login":"caridy","id":38969,"avatar_url":"https://avatars.githubusercontent.com/u/38969?v=3","gravatar_id":"","url":"https://api.github.com/users/caridy","html_url":"https://github.com/caridy","followers_url":"https://api.github.com/users/caridy/followers","following_url":"https://api.github.com/users/caridy/following{/other_user}","gists_url":"https://api.github.com/users/caridy/gists{/gist_id}","starred_url":"https://api.github.com/users/caridy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caridy/subscriptions","organizations_url":"https://api.github.com/users/caridy/orgs","repos_url":"https://api.github.com/users/caridy/repos","events_url":"https://api.github.com/users/caridy/events{/privacy}","received_events_url":"https://api.github.com/users/caridy/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":0,"state":"open","created_at":"2015-09-17T15:24:50Z","updated_at":"2015-09-17T15:27:21Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2015-09-16T01:23:56Z","updated_at":"2015-09-18T20:44:57Z","closed_at":null,"body":"cloned from: https://groups.google.com/forum/#!topic/javascript-globalization/3nFDf5al5hU\r\n\r\nIt would be very helpful for all l10n libraries to get CLDR plural forms into Intl API.\r\n\r\nThe proposed API could look like this:\r\n\r\n```\r\nvar cardinal = new Intl.PluralFormat(‘en’, {style: ‘cardinal’});\r\nconsole.log(cardinal.format(0)); // “other”\r\nconsole.log(cardinal.format(1)); // “one”\r\nconsole.log(cardinal.format(2)); // “other”\r\n\r\nvar ordinal = new Intl.PluralFormat(‘en’, {style: ‘ordinal’});\r\nconsole.log(ordinal.format(11)); // “one”\r\nconsole.log(ordinal.format(22)); // “two”\r\nconsole.log(ordinal.format(33)); // “few”\r\nconsole.log(ordinal.format(44)); // “other”\r\n```"},"comment":{"url":"https://api.github.com/repos/tc39/ecma402/issues/comments/141563564","html_url":"https://github.com/tc39/ecma402/issues/34#issuecomment-141563564","issue_url":"https://api.github.com/repos/tc39/ecma402/issues/34","id":141563564,"user":{"login":"caridy","id":38969,"avatar_url":"https://avatars.githubusercontent.com/u/38969?v=3","gravatar_id":"","url":"https://api.github.com/users/caridy","html_url":"https://github.com/caridy","followers_url":"https://api.github.com/users/caridy/followers","following_url":"https://api.github.com/users/caridy/following{/other_user}","gists_url":"https://api.github.com/users/caridy/gists{/gist_id}","starred_url":"https://api.github.com/users/caridy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caridy/subscriptions","organizations_url":"https://api.github.com/users/caridy/orgs","repos_url":"https://api.github.com/users/caridy/repos","events_url":"https://api.github.com/users/caridy/events{/privacy}","received_events_url":"https://api.github.com/users/caridy/received_events","type":"User","site_admin":false},"created_at":"2015-09-18T20:44:57Z","updated_at":"2015-09-18T20:44:57Z","body":"jaja"}}