Skip to content

Commit f5bc4d7

Browse files
Update README.md
1 parent af64acb commit f5bc4d7

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

README.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,16 @@ This library should be compatible with .NET Standard 1.1 and greater, as well as
1717
See the [.NET Standard Platform Support Matrix][1] for further details about .NET Standard,
1818
and please raise an issue if you encounter any compatibility errors.
1919

20+
#### Note on newer .NET Versions
21+
22+
.NET 6 will have built-in support for IANA and Windows time zones in a cross-platform manner, removing the need for the TimeZoneConverter library.
23+
If you are planning to use .NET 6 (or higher), you should also plan to *not* use the TimeZoneConverter library.
24+
25+
This work is being tracked in these two issues:
26+
27+
- https://github.com/dotnet/runtime/pull/49412 - Implicit conversion when calling `TimeZoneInfo.FindSystemTimeZoneById` (completed)
28+
- https://github.com/dotnet/runtime/issues/49407 - Explicit conversion via new APIs
29+
2030
#### Note on OS Data Dependencies
2131

2232
Some functions, such as `TZConvert.GetTimeZoneInfo` rely on the underlying `TimeZoneInfo` object having access to
@@ -82,7 +92,7 @@ string tz = TZConvert.WindowsToIana("Eastern Standard Time", "CA");
8292
```
8393

8494
Get a `TimeZoneInfo` object from .NET Core, regardless of what OS you are running on:
85-
*Helps with .NET CoreFX issue [#11897][8]*
95+
*Helps with .NET Runtime issue [#18644][8]*
8696
***This function is only available for .NET Standard 1.3+ or full .NET Framework targets***
8797

8898
```csharp
@@ -157,5 +167,5 @@ This library is provided free of charge, under the terms of the [MIT license][9]
157167
[5]: https://aka.ms/dstblog
158168
[6]: https://github.com/rails/rails/blob/master/activesupport/lib/active_support/values/time_zone.rb
159169
[7]: https://support.microsoft.com/en-us/help/4051956/time-zone-and-dst-changes-in-windows-for-northern-cyprus-sudan-and-ton
160-
[8]: https://github.com/dotnet/corefx/issues/11897
170+
[8]: https://github.com/dotnet/runtime/issues/18644
161171
[9]: https://github.com/mattjohnsonpint/TimeZoneConverter/blob/main/LICENSE.txt

0 commit comments

Comments
 (0)