#1005785 gnome-weather: wind speed reporting stuck in MPH

#1005785#5
Date:
2022-02-14 22:02:17 UTC
From:
To:
Thanks for maintaining gnome-weather, I use it regularly!


I did notice a recent problem after switching units from from Celsius to
Fahrenheit units, and then switching back to Celsius.

The temperature reporting consistantly changes units, but the wind speed
reporting in the daily tab now only displays in mph, regardless of
setting gnome-weather to use Celsius or Fahrenheit. It definitely used
to display wind speed in kph (or kmph?) before having switched to
Fahrenheit.

It seems like the configuration should be Metric or Imperial rather than
Celcius and Fahrenheit, but at the very least, when you switch between
whatever unit the interface allows, it should at least consistently use
the same system of units for all of the reporting...


live well,
  vagrant

#1005785#10
Date:
2022-04-07 22:04:32 UTC
From:
To:
Interestingly enough, tried with gnome-weather 42.0-1, setting my locale
to C.UTF-8 instead of en_US.UTF-8, and sure enough, it reported wind
speeds in km/h!

Weather the older version was actually locale-dependent or not I'm not
sure now; I distinctly remember it changing immediately after changing
the celsius/fahrenheit setting...


live well,
  vagrant

#1005785#15
Date:
2026-04-08 07:04:26 UTC
From:
To:
It seems that wind speed units are always based on the locale while
temperature units are an option.

I think one of two things should be done, either make the units only depend on
the locale or make a single configuration option change both wind speed and
temperature units.