You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-24Lines changed: 4 additions & 24 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,9 @@ Read [this blog post](https://codeofmatt.com/localized-time-zone-names-in-net/)
9
9
Note that if you are running .NET 6+ on Linux or macOS, the built-in names now stem from ICU and thus this library is no longer needed.
10
10
See [the .NET blog post](https://devblogs.microsoft.com/dotnet/date-time-and-time-zone-enhancements-in-net-6/#time-zone-display-names-on-linux-and-macos) for more details.
11
11
12
+
**NOTE**:
13
+
Methods for retrieving localized time zone abbreviations have been deprecated, as the source data for abbreviations is generally unreliable.
/// <param name="timeZoneId">An IANA or Windows time zone identifier.</param>
211
211
/// <param name="languageCode">The IETF language tag (culture code) to use when localizing the abbreviations.</param>
212
212
/// <returns>A <see cref="TimeZoneValues"/> object containing the localized generic, standard, and daylight abbreviations.</returns>
213
+
[Obsolete("WARNING! Time zone abbreviations are inconsistent and not well-defined in the source data. This method will be removed in a future release.")]
0 commit comments