From 18feb8ee8d0e8d2290183b8391aa2413e4a43c22 Mon Sep 17 00:00:00 2001 From: "G.Reijn" Date: Sat, 28 Dec 2024 13:52:24 +0100 Subject: [PATCH] Remove tenary operator --- .../Microsoft.Windows.Setting.Time.psm1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/Microsoft.Windows.Setting.Time/Microsoft.Windows.Setting.Time.psm1 b/resources/Microsoft.Windows.Setting.Time/Microsoft.Windows.Setting.Time.psm1 index ae94860f..dd6de6ac 100644 --- a/resources/Microsoft.Windows.Setting.Time/Microsoft.Windows.Setting.Time.psm1 +++ b/resources/Microsoft.Windows.Setting.Time/Microsoft.Windows.Setting.Time.psm1 @@ -130,7 +130,7 @@ class TimeZone { $this.Id = $timeZone.Id # We set the SupportsDaylightSavingProperty to the value that is supported by the current time zone - [TimeZone]::SupportsDaylightSavingProperty = $timeZone.SupportsDaylightSavingTime ? $true : $false + [TimeZone]::SupportsDaylightSavingProperty = $timeZone.SupportsDaylightSavingTime } [TimeZone] Get() {