{"action":"created","issue":{"url":"https://api.github.com/repos/moment/moment-timezone/issues/324","repository_url":"https://api.github.com/repos/moment/moment-timezone","labels_url":"https://api.github.com/repos/moment/moment-timezone/issues/324/labels{/name}","comments_url":"https://api.github.com/repos/moment/moment-timezone/issues/324/comments","events_url":"https://api.github.com/repos/moment/moment-timezone/issues/324/events","html_url":"https://github.com/moment/moment-timezone/issues/324","id":144194152,"number":324,"title":"Intl API timezone guessing logs an error in a valid case","user":{"login":"jaccus","id":1523038,"avatar_url":"https://avatars.githubusercontent.com/u/1523038?v=3","gravatar_id":"","url":"https://api.github.com/users/jaccus","html_url":"https://github.com/jaccus","followers_url":"https://api.github.com/users/jaccus/followers","following_url":"https://api.github.com/users/jaccus/following{/other_user}","gists_url":"https://api.github.com/users/jaccus/gists{/gist_id}","starred_url":"https://api.github.com/users/jaccus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaccus/subscriptions","organizations_url":"https://api.github.com/users/jaccus/orgs","repos_url":"https://api.github.com/users/jaccus/repos","events_url":"https://api.github.com/users/jaccus/events{/privacy}","received_events_url":"https://api.github.com/users/jaccus/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/moment/moment-timezone/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-03-29T08:33:37Z","updated_at":"2016-04-21T19:31:28Z","closed_at":null,"body":"Currently the `rebuildGuess` function logs an error when Intl API guessing did not succeed:\r\n`logError(\"Moment Timezone found \" + intlName + \" from the Intl api, but did not have that data loaded.\");`\r\n\r\nIt is however a valid case when Intl API returns an undefined value, see note in [ECMA Standard](http://www.ecma-international.org/ecma-402/1.0/#sec-12.3.3):\r\n\r\n> In this version of the ECMAScript Internationalization API, the timeZone property will remain undefined if no timeZone property was provided in the options object provided to the Intl.DateTimeFormat constructor.\r\n\r\n`rebuildGuess` function should most likely be fixed not to treat undefined value from Intl API as error, but instead let the function continue with the non-Intl execution."},"comment":{"url":"https://api.github.com/repos/moment/moment-timezone/issues/comments/213081539","html_url":"https://github.com/moment/moment-timezone/issues/324#issuecomment-213081539","issue_url":"https://api.github.com/repos/moment/moment-timezone/issues/324","id":213081539,"user":{"login":"BenjaminBrandmeier","id":17959794,"avatar_url":"https://avatars.githubusercontent.com/u/17959794?v=3","gravatar_id":"","url":"https://api.github.com/users/BenjaminBrandmeier","html_url":"https://github.com/BenjaminBrandmeier","followers_url":"https://api.github.com/users/BenjaminBrandmeier/followers","following_url":"https://api.github.com/users/BenjaminBrandmeier/following{/other_user}","gists_url":"https://api.github.com/users/BenjaminBrandmeier/gists{/gist_id}","starred_url":"https://api.github.com/users/BenjaminBrandmeier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BenjaminBrandmeier/subscriptions","organizations_url":"https://api.github.com/users/BenjaminBrandmeier/orgs","repos_url":"https://api.github.com/users/BenjaminBrandmeier/repos","events_url":"https://api.github.com/users/BenjaminBrandmeier/events{/privacy}","received_events_url":"https://api.github.com/users/BenjaminBrandmeier/received_events","type":"User","site_admin":false},"created_at":"2016-04-21T19:31:28Z","updated_at":"2016-04-21T19:31:28Z","body":"+1"}}