! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
temperature is sometimes displayed as -0 in Fahrenheit
Status:
RESOLVED: WONTFIX
Severity:
trivial
Product:
Xfce4-weather-plugin
Component:
General

Comments

Description Jolan Luff 2015-01-08 18:26:31 CET
I've seen this happen a few times.  I haven't looked at the code in depth but I'm assuming it is due to conversion from a negative Celsius that gets rounded down.
Comment 1 Harald Judt editbugs 2015-02-07 11:29:34 CET
Yes it happens because of rounding, though rounding is only done for display. Not a bug, and I do not care enough for it to change it.
Comment 2 Miguel Guedes 2015-02-07 11:54:04 CET
(In reply to Harald Judt from comment #1)
> Not a bug, and I do not care enough for it to change it.

I beg to differ. It *is* a display bug since there is no such thing as -0. Whether you care or not about it and will fix it, is a different matter.
Comment 3 Harald Judt editbugs 2015-02-07 19:49:21 CET
If you provide a patch that solves this for Fahrenheit only, attach it and reopen this bug report, and I will apply it.

Bug #11432

Reported by:
Jolan Luff
Reported on: 2015-01-08
Last modified on: 2015-02-07

People

Assignee:
Harald Judt
CC List:
3 users

Version

Attachments

Additional information