mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-11-28 07:39:49 +08:00
[PTRun][TimeZone]Fix error preventing search for standard time zones (#22256)
This commit is contained in:
parent
ec26f67b38
commit
0b1bac1f4a
@ -858,7 +858,7 @@ namespace Microsoft.PowerToys.Run.Plugin.TimeZone.Helper
|
||||
/// <returns><see langword="true"/>if the query match, otherwise <see langword="false"/>.</returns>
|
||||
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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user