Skip to content

Commit c295e8f

Browse files
Skip test if Jordan update not installed
1 parent 278e6f1 commit c295e8f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/TimeZoneNames.Tests/DisplayNamesTests.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ public void Can_Get_DisplayNames_For_OS_Culture()
3434
// This test requires Windows
3535
Skip.IfNot(RuntimeInformation.IsOSPlatform(OSPlatform.Windows));
3636

37+
// The data has an update for Jordan Standard Time that might not yet be installed
38+
Skip.If(!TimeZoneInfo.FindSystemTimeZoneById("Jordan Standard Time").DisplayName.Contains("+03:00"));
39+
3740
var languageCode = CultureInfo.InstalledUICulture.IetfLanguageTag;
3841

3942
var displayNames = TZNames.GetDisplayNames(languageCode);

0 commit comments

Comments
 (0)