From 010f4937a1f94b0ab782a09ad1466d9d4e55b2b3 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Sat, 17 Aug 2024 13:27:44 +0200 Subject: [PATCH] Updated check-time-zone.ps1 --- scripts/check-time-zone.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/check-time-zone.ps1 b/scripts/check-time-zone.ps1 index 583918a1..86bfc12d 100755 --- a/scripts/check-time-zone.ps1 +++ b/scripts/check-time-zone.ps1 @@ -5,7 +5,7 @@ This PowerShell script queries the local time zone and prints it. .EXAMPLE PS> ./check-time-zone.ps1 - ✅ 3:27 PM in W. Europe Summer Time (UTC+01:00:00 +1h DST) + ✅ 3:27 PM West Europe Summer Time (UTC+01:00:00 +1h DST) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -24,7 +24,7 @@ try { $TZName = $TZ.StandardName $DST="" } - Write-Host "✅ $Time in $TZName (UTC+$($offset)$($DST))" + Write-Host "✅ $Time $TZName (UTC+$($offset)$($DST))" exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"