{"action":"opened","issue":{"url":"https://api.github.com/repos/tinohager/Nager.ArticleNumber/issues/3","repository_url":"https://api.github.com/repos/tinohager/Nager.ArticleNumber","labels_url":"https://api.github.com/repos/tinohager/Nager.ArticleNumber/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/tinohager/Nager.ArticleNumber/issues/3/comments","events_url":"https://api.github.com/repos/tinohager/Nager.ArticleNumber/issues/3/events","html_url":"https://github.com/tinohager/Nager.ArticleNumber/issues/3","id":267384120,"number":3,"title":"ArticleNumberType.Isbn13 won't be recognized","user":{"login":"PanantukanFMA","id":23559749,"avatar_url":"https://avatars3.githubusercontent.com/u/23559749?v=4","gravatar_id":"","url":"https://api.github.com/users/PanantukanFMA","html_url":"https://github.com/PanantukanFMA","followers_url":"https://api.github.com/users/PanantukanFMA/followers","following_url":"https://api.github.com/users/PanantukanFMA/following{/other_user}","gists_url":"https://api.github.com/users/PanantukanFMA/gists{/gist_id}","starred_url":"https://api.github.com/users/PanantukanFMA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PanantukanFMA/subscriptions","organizations_url":"https://api.github.com/users/PanantukanFMA/orgs","repos_url":"https://api.github.com/users/PanantukanFMA/repos","events_url":"https://api.github.com/users/PanantukanFMA/events{/privacy}","received_events_url":"https://api.github.com/users/PanantukanFMA/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-10-21T14:14:05Z","updated_at":"2017-10-21T14:14:05Z","closed_at":null,"author_association":"NONE","body":"I tried this:\r\n`Nager.ArticleNumber.ArticleNumberType articleNumberType = Nager.ArticleNumber.ArticleNumberHelper.GetArticleNumberType(\"9783551775849\");`\r\n\r\narticleNumberType was recognized as ArticleNumberType.Ean13 but it is actually a ArticleNumberType.Isbn13 (Prefix 978)\r\n\r\nBut\r\n`if (Nager.ArticleNumber.ArticleNumberHelper.IsValidIsbn13(\"9783551775849\"))`\r\nand\r\n`if (Nager.ArticleNumber.ArticleNumberHelper.IsValidEan(\"9783551775849\"))`\r\nboth are true...\r\n\r\n2 Issues:\r\n\r\n1. ArticleNumberHelper.GetArticleNumberType does not recognize ArticleNumberType.Isbn13 but ArticleNumberHelper.IsValidIsbn13 does\r\n2. ArticleNumberHelper.IsValidEan does recognize ArticleNumberType.Isbn13 as EAN\r\n"}}
{"actor":{"display_login":"PanantukanFMA"}}