Skip to content

Commit

Permalink
Minor change
Browse files Browse the repository at this point in the history
  • Loading branch information
Gijsreyn committed Nov 15, 2024
1 parent 3f47882 commit 0e02a99
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,7 @@ class TimeZone {
}

[TimeZone] Get() {
$currentState = [TimeZone]::New()
$currentState.TimeZone = (Get-TimeZone).Id
$currentState = [TimeZone]::new()
$currentState.SetTimeZoneAutomatically = [TimeZone]::GetTimeZoneAutoUpdateStatus()
$currentState.AdjustForDaylightSaving = [TimeZone]::GetDayLightSavingStatus()

Expand Down

0 comments on commit 0e02a99

Please sign in to comment.