{"action":"opened","issue":{"url":"https://api.github.com/repos/andyearnshaw/Intl.js/issues/211","repository_url":"https://api.github.com/repos/andyearnshaw/Intl.js","labels_url":"https://api.github.com/repos/andyearnshaw/Intl.js/issues/211/labels{/name}","comments_url":"https://api.github.com/repos/andyearnshaw/Intl.js/issues/211/comments","events_url":"https://api.github.com/repos/andyearnshaw/Intl.js/issues/211/events","html_url":"https://github.com/andyearnshaw/Intl.js/issues/211","id":170681913,"number":211,"title":"Long weekday is output as a short one","user":{"login":"halt-hammerzeit","id":477167,"avatar_url":"https://avatars.githubusercontent.com/u/477167?v=3","gravatar_id":"","url":"https://api.github.com/users/halt-hammerzeit","html_url":"https://github.com/halt-hammerzeit","followers_url":"https://api.github.com/users/halt-hammerzeit/followers","following_url":"https://api.github.com/users/halt-hammerzeit/following{/other_user}","gists_url":"https://api.github.com/users/halt-hammerzeit/gists{/gist_id}","starred_url":"https://api.github.com/users/halt-hammerzeit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/halt-hammerzeit/subscriptions","organizations_url":"https://api.github.com/users/halt-hammerzeit/orgs","repos_url":"https://api.github.com/users/halt-hammerzeit/repos","events_url":"https://api.github.com/users/halt-hammerzeit/events{/privacy}","received_events_url":"https://api.github.com/users/halt-hammerzeit/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-11T15:59:08Z","updated_at":"2016-08-11T15:59:08Z","closed_at":null,"body":"I'm using this library to format date on Node.js and it can't format weekdays and months as \"long\" in my configuration.\r\n\r\nFor example, a simple case:\r\n\r\n```js\r\nconst Intl_polyfill = require('intl')\r\n\r\nconst date_time_format =\r\n{\r\n\tday          : 'numeric',\r\n\tmonth        : 'long'\r\n}\r\n\r\nconst date_time_formatter = new Intl_polyfill.DateTimeFormat('en', date_time_format)\r\nconsole.log(date_time_formatter.format(new Date()))\r\n```\r\n\r\nOutputs: `Aug 11`\r\n\r\nEven though there is the preferred format inside `en.json`:\r\n\r\n```\r\n        \"formats\": {\r\n            \"availableFormats\": {\r\n                \"MMMd\": \"MMM d\",\r\n                \"MMMMd\": \"MMMM d\",\r\n            },\r\n```\r\n\r\nIt finds the first one and stops?\r\nOr why is it not choosing the right one?"}}
{"actor":{"display_login":"halt-hammerzeit"}}