CleoMenezesJr / weather-oclock

Display the current weather inside the pill next to the clock.
GNU General Public License v3.0
59 stars 4 forks source link

Temperature shows up in Fahrenheit instead of Celsius in the panel #16

Closed cnsr closed 1 year ago

cnsr commented 1 year ago

Panel widget shows weather in Fahrenheit despite having it set to Celsius in the Weather settings.

Distro Name & Version

Pop!_OS 22.04 LTS

GNOME Shell Version

42.5

Other Installed Extensions

dash-to-panel@jderose9.github.com  weatheroclock@CleoMenezesJr.github.io
Vitals@CoreCoding.com

Expected Behavior

Weather displays in Celsius in the panel

Current Behavior

Weather displays in Fahrenheit in the panel

Detailed Description

I have Celsius selected and it shows correctly inside the Weather window image

In the dropdown, it also shows in Fahrenheit image

Let me know if there is anything else I should provide. Thank you.

CleoMenezesJr commented 1 year ago

In Settings > Region and language > Formats. If you have, for example, United States (English), it will use F, but if you choose a country that uses C, such as Brazil, the default system unit will be C.

CleoMenezesJr commented 1 year ago

I think I'll pin this issue for the amount of times I'm asked. haha

cnsr commented 1 year ago

fyi changing locale didn't help, but this did:

gsettings set org.gnome.GWeather temperature-unit "'centigrade'"