Open Sebbs128 opened 4 years ago
The same situation for "be" code.
The same for zh-Hans, zh-Hans-sg, zh-Hant and a large number of other culture names from GetLanguageCodes() list. That sucks, dudes. Fix it please!
This issue would be fixed by my PR: https://github.com/mattjohnsonpint/TimeZoneNames/pull/104
TZNames.GetLanguageCodes()
lists"en_au"
as a valid/known language code, however callingTZNames.GetDisplayNames()
with either"en_au"
or"en-AU"
(as returned bySystem.Globalization.CultureInfo.CurrentCulture.IetfLanguageTag
) both result in an exception.The variations for
en-US
anden-GB
work as expected.Tested with v4.0.1 on .NET Core 2.2 x64 and .NET Framework 4.8 x86 and x64.