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
Fix getting time zone names with Invariant Culture (#33318)
* Fix getting time zone names with Invariant Culture
* Address the feedback
* Restrict the test to English languages only.
* Fix misspelling
* Remove un-needed line
stringuiCulture=CultureInfo.CurrentUICulture.Name.Length==0?FallbackCultureName:CultureInfo.CurrentUICulture.Name;// ICU doesn't work nicely with Invariant
Assert.True(pacific.StandardName.IndexOf("Pacific",StringComparison.OrdinalIgnoreCase)>=0,$"'{pacific.StandardName}' is not the expected standard name for Pacific time zone");
2286
+
Assert.True(pacific.DaylightName.IndexOf("Pacific",StringComparison.OrdinalIgnoreCase)>=0,$"'{pacific.DaylightName}' is not the expected daylight name for Pacific time zone");
2287
+
Assert.True(pacific.DisplayName.IndexOf("Pacific",StringComparison.OrdinalIgnoreCase)>=0,$"'{pacific.DisplayName}' is not the expected display name for Pacific time zone");
0 commit comments