We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9296e04 commit 7dd74fcCopy full SHA for 7dd74fc
src/libraries/System.Private.CoreLib/src/System/TimeZoneInfo.Unix.NonAndroid.cs
@@ -613,7 +613,7 @@ private static string GetTimeZoneDirectory()
613
{
614
string? tzDirectory = Environment.GetEnvironmentVariable(TimeZoneDirectoryEnvironmentVariable);
615
616
- if (tzDirectory == null)
+ if (string.IsNullOrEmpty(tzDirectory))
617
618
tzDirectory = DefaultTimeZoneDirectory;
619
}
0 commit comments