mattjohnsonpint / TimeZoneNames

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

GetAbbreviationsForTimeZone does not support the language code - 'nb' for nerwegian bokmal #108

Open jverner12345 opened 1 week ago

jverner12345 commented 1 week ago

I am using this package in my application, however, I need to be able to support Norwegian Bokmal, I am calling the following code, using nb for language code (which is valid), however, this is not supported. Will this be resolved?

/// <summary>
/// Gets the abbreviations for a given IANA or Windows time zone identifier, localizing them when possible.
/// </summary>
/// <param name="timeZoneId">An IANA or Windows time zone identifier.</param>
/// <param name="languageCode">The IETF language tag (culture code) to use when localizing the abbreviations.</param>
/// <returns>A <see cref="TimeZoneValues"/> object containing the localized generic, standard, and daylight abbreviations.</returns>
public static TimeZoneValues GetAbbreviationsForTimeZone(string timeZoneId, string languageCode)