From 0b1bac1f4a19a5848bfc5bee56b9cb7800e3acb1 Mon Sep 17 00:00:00 2001 From: Tantalus13A98B5F Date: Fri, 25 Nov 2022 09:24:27 -0500 Subject: [PATCH] [PTRun][TimeZone]Fix error preventing search for standard time zones (#22256) --- .../Helper/ResultHelper.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/launcher/Plugins/Microsoft.PowerToys.Run.Plugin.TimeZone/Helper/ResultHelper.cs b/src/modules/launcher/Plugins/Microsoft.PowerToys.Run.Plugin.TimeZone/Helper/ResultHelper.cs index b44d66543a..ff4bad8198 100644 --- a/src/modules/launcher/Plugins/Microsoft.PowerToys.Run.Plugin.TimeZone/Helper/ResultHelper.cs +++ b/src/modules/launcher/Plugins/Microsoft.PowerToys.Run.Plugin.TimeZone/Helper/ResultHelper.cs @@ -858,7 +858,7 @@ namespace Microsoft.PowerToys.Run.Plugin.TimeZone.Helper /// if the query match, otherwise . internal static bool MatchStandardTimeNames(in TimeZoneProperties timeZoneProperties, Query query) { - var result = timeZoneProperties.TimeNamesDaylight.Any(x => x.Contains(query.Search, StringComparison.CurrentCultureIgnoreCase)); + var result = timeZoneProperties.TimeNamesStandard.Any(x => x.Contains(query.Search, StringComparison.CurrentCultureIgnoreCase)); return result; }