mirror of
https://github.com/fleschutz/PowerShell.git
synced 2024-11-21 23:43:25 +01:00
Updated list-weather.ps1
This commit is contained in:
parent
6f8f29de3c
commit
0259513e6c
@ -111,7 +111,7 @@ try {
|
||||
$desc = GetDescription $hourly.weatherDesc.value.trim()
|
||||
if ($hour -eq 0) {
|
||||
if ($day -eq 0) {
|
||||
Write-Host "TODAY 🌡°C ☂️mm 💧 💨km/h ☀️UV ☁️ 👁km at $area ($region, $country)" -foregroundColor green
|
||||
Write-Host "TODAY 🌡°C ☂️mm 💧 💨km/h ☀️UV ☁️ 👁km at $area ($region, $country)" -foregroundColor green
|
||||
} elseif ($day -eq 1) {
|
||||
$date = (Get-Date).AddDays(1)
|
||||
[string]$dayOfWeek = $date.DayOfWeek
|
||||
|
Loading…
Reference in New Issue
Block a user