mattjohnsonpint / TimeZoneNames

Provides a complete source of localized time zone names and abbreviations.
MIT License
196 stars 32 forks source link

TZNames.GetLanguageCodes() does not contain en_us #67

Open Carmageddon opened 3 years ago

Carmageddon commented 3 years ago

The list returned from calling TZNames.GetLanguageCodes() does not contain en_us, although I know for sure it works. Is this a bug? My goal was to create a fallback, before calling other methods to ensure the locale is available to avoid exception. For example, qps-ploc locale is not available and leads to exception from GetAbbreviationForTimeZone

mattjohnsonpint commented 1 year ago

Looks like this is still a bug in 6.0.0. Thanks for reporting and sorry for the delay.

Carmageddon commented 1 year ago

Thanks for the update, I no longer work at that company where this library was being used and in fact don't use .NET stack currently.