We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 91566b3 commit 67a8cc6Copy full SHA for 67a8cc6
Scripts/check-time-zone.ps1
@@ -17,7 +17,7 @@ try {
17
$Time = $((Get-Date).ToShortTimeString())
18
$TZ = (Get-Timezone)
19
if ($TZ.SupportsDaylightSavingTime) { $DST=", DST+1h" } else { $DST="" }
20
- Write-Host "✅ $Time $($TZ.Id) time (TZ+$($TZ.BaseUtcOffset)$($DST))"
+ Write-Host "✅ $Time @ $($TZ.Id) (TZ+$($TZ.BaseUtcOffset)$($DST))"
21
exit 0 # success
22
} catch {
23
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
0 commit comments