Public bug reported:

when using --metric argument,  "Precipitation last hour:" is still in
inches.  Ubuntu `22.04` comes with `2.4.1` so I manually installed
`2.5.0` and it still doesn't show precipitation in metric.

```
user@ubuntu22:~$ weather cwdz
Current conditions at Drumheller East, Canada (CWDZ) 51-26N 112-40W
Last updated May 21, 2025 - 12:00 PM EDT / 2025.05.21 1600 UTC
   Temperature: 46.9 F (8.3 C)
   Relative Humidity: 90%
   Wind: from the W (280 degrees) at 6 MPH (5 KT)
   Precipitation last hour: 0.09 inches

user@ubuntu22:~$ weather --metric cwdz
Current conditions at Drumheller East, Canada (CWDZ) 51-26N 112-40W
Last updated May 21, 2025 - 12:00 PM EDT / 2025.05.21 1600 UTC
   Temperature: 8.3 C
   Relative Humidity: 90%
   Wind: from the W (280 degrees) at 10 KPH
   Precipitation last hour: 0.09 inches

user@ubuntu22:~$ weather --version
weather 2.5.0

user@ubuntu22:~$ lsb_release -sdc; uname -sri
Ubuntu 22.04.5 LTS
jammy
Linux 6.5.0-35-generic x86_64
```

** Affects: weather-util (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

  when using --metric argument,  "Precipitation last hour:" is still in
  inches.  Ubuntu `22.04` comes with `2.4.1` so I manually installed
  `2.5.0` and it still doesn't show precipitation in metric.
  
- `user@ubuntu22:~$ weather cwdz
+ ```
+ user@ubuntu22:~$ weather cwdz
  Current conditions at Drumheller East, Canada (CWDZ) 51-26N 112-40W
  Last updated May 21, 2025 - 12:00 PM EDT / 2025.05.21 1600 UTC
-    Temperature: 46.9 F (8.3 C)
-    Relative Humidity: 90%
-    Wind: from the W (280 degrees) at 6 MPH (5 KT)
-    Precipitation last hour: 0.09 inches
+    Temperature: 46.9 F (8.3 C)
+    Relative Humidity: 90%
+    Wind: from the W (280 degrees) at 6 MPH (5 KT)
+    Precipitation last hour: 0.09 inches
  
  user@ubuntu22:~$ weather --metric cwdz
  Current conditions at Drumheller East, Canada (CWDZ) 51-26N 112-40W
  Last updated May 21, 2025 - 12:00 PM EDT / 2025.05.21 1600 UTC
-    Temperature: 8.3 C
-    Relative Humidity: 90%
-    Wind: from the W (280 degrees) at 10 KPH
-    Precipitation last hour: 0.09 inches
+    Temperature: 8.3 C
+    Relative Humidity: 90%
+    Wind: from the W (280 degrees) at 10 KPH
+    Precipitation last hour: 0.09 inches
  
  user@ubuntu22:~$ weather --version
  weather 2.5.0
  
  user@ubuntu22:~$ lsb_release -sdc; uname -sri
  Ubuntu 22.04.5 LTS
  jammy
- Linux 6.5.0-35-generic x86_64`
+ Linux 6.5.0-35-generic x86_64
+ ```

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2111449

Title:
  when using --metric "Precipitation last hour:" is still in inches

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/weather-util/+bug/2111449/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to