Cannot cope with multi-part region codes
Closed this issue · 0 comments
srl295 commented
As the README says,
Cannot cope with multi-part region codes, i.e. 'az-AZ-Cyrl' will be treated as 'az-AZ'
Example:
require('accept-language-parser').parse('zh-Hans-CN')[0].region // 'Hans'