@@ -17,6 +17,16 @@ This library should be compatible with .NET Standard 1.1 and greater, as well as
17
17
See the [ .NET Standard Platform Support Matrix] [ 1 ] for further details about .NET Standard,
18
18
and please raise an issue if you encounter any compatibility errors.
19
19
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
+
20
30
#### Note on OS Data Dependencies
21
31
22
32
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");
82
92
```
83
93
84
94
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 ] *
86
96
*** This function is only available for .NET Standard 1.3+ or full .NET Framework targets***
87
97
88
98
``` csharp
@@ -157,5 +167,5 @@ This library is provided free of charge, under the terms of the [MIT license][9]
157
167
[ 5 ] : https://aka.ms/dstblog
158
168
[ 6 ] : https://github.com/rails/rails/blob/master/activesupport/lib/active_support/values/time_zone.rb
159
169
[ 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
161
171
[ 9 ] : https://github.com/mattjohnsonpint/TimeZoneConverter/blob/main/LICENSE.txt
0 commit comments