{"action":"created","issue":{"url":"https://api.github.com/repos/catamphetamine/libphonenumber-js/issues/245","repository_url":"https://api.github.com/repos/catamphetamine/libphonenumber-js","labels_url":"https://api.github.com/repos/catamphetamine/libphonenumber-js/issues/245/labels{/name}","comments_url":"https://api.github.com/repos/catamphetamine/libphonenumber-js/issues/245/comments","events_url":"https://api.github.com/repos/catamphetamine/libphonenumber-js/issues/245/events","html_url":"https://github.com/catamphetamine/libphonenumber-js/issues/245","id":357704900,"node_id":"MDU6SXNzdWUzNTc3MDQ5MDA=","number":245,"title":"Wrong parsing of number","user":{"login":"NunoLopes12","id":20049035,"node_id":"MDQ6VXNlcjIwMDQ5MDM1","avatar_url":"https://avatars2.githubusercontent.com/u/20049035?v=4","gravatar_id":"","url":"https://api.github.com/users/NunoLopes12","html_url":"https://github.com/NunoLopes12","followers_url":"https://api.github.com/users/NunoLopes12/followers","following_url":"https://api.github.com/users/NunoLopes12/following{/other_user}","gists_url":"https://api.github.com/users/NunoLopes12/gists{/gist_id}","starred_url":"https://api.github.com/users/NunoLopes12/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NunoLopes12/subscriptions","organizations_url":"https://api.github.com/users/NunoLopes12/orgs","repos_url":"https://api.github.com/users/NunoLopes12/repos","events_url":"https://api.github.com/users/NunoLopes12/events{/privacy}","received_events_url":"https://api.github.com/users/NunoLopes12/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-09-06T15:17:12Z","updated_at":"2018-09-07T13:34:38Z","closed_at":"2018-09-07T11:05:10Z","author_association":"NONE","body":"I was trying to parse number with Belgium as country default code.\r\nI got some wrong results using the parseNumber(value, 'BE').\r\nFor example value = 912123123.\r\nWhen trying on the demo page https://catamphetamine.github.io/libphonenumber-js/ it works as expected.\r\n\r\nI tried used the current, 1.4.4, version and an older one, 1.2.22, and still got the wrong results.\r\n\r\nI am using this on a vuejs project.\r\nDoing: import { parseNumber } from 'libphonenumber-js';\r\n\r\nAm i doing something wrong?"},"comment":{"url":"https://api.github.com/repos/catamphetamine/libphonenumber-js/issues/comments/419440878","html_url":"https://github.com/catamphetamine/libphonenumber-js/issues/245#issuecomment-419440878","issue_url":"https://api.github.com/repos/catamphetamine/libphonenumber-js/issues/245","id":419440878,"node_id":"MDEyOklzc3VlQ29tbWVudDQxOTQ0MDg3OA==","user":{"login":"NunoLopes12","id":20049035,"node_id":"MDQ6VXNlcjIwMDQ5MDM1","avatar_url":"https://avatars2.githubusercontent.com/u/20049035?v=4","gravatar_id":"","url":"https://api.github.com/users/NunoLopes12","html_url":"https://github.com/NunoLopes12","followers_url":"https://api.github.com/users/NunoLopes12/followers","following_url":"https://api.github.com/users/NunoLopes12/following{/other_user}","gists_url":"https://api.github.com/users/NunoLopes12/gists{/gist_id}","starred_url":"https://api.github.com/users/NunoLopes12/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NunoLopes12/subscriptions","organizations_url":"https://api.github.com/users/NunoLopes12/orgs","repos_url":"https://api.github.com/users/NunoLopes12/repos","events_url":"https://api.github.com/users/NunoLopes12/events{/privacy}","received_events_url":"https://api.github.com/users/NunoLopes12/received_events","type":"User","site_admin":false},"created_at":"2018-09-07T13:34:38Z","updated_at":"2018-09-07T13:34:38Z","author_association":"NONE","body":"But then why is the function parseNumber extended turned true is returning the key valid as true?\r\nBecause that's my original question: getting a different result from the demo.\r\nSorry about the earlier fiddle it wasn't updated: https://jsfiddle.net/NunoLopes/eywraw8t/343939/\r\nI will submit a test case later.\r\nAgain thanks for your time."}}
{"actor":{"display_login":"NunoLopes12"}}