Skip to content

dateMenu: Fix temperature edge case

Florian Müllner requested to merge fmuellner/gnome-shell:temp-glitch into master

We currently format the temperature with a precision of 0, that is with no digits after the decimal-point. As a result, a temperature like -0.2 shows up as -0. Address this by using Math.trunc(), which handles this case correctly.

Fixes #3441 (closed)

Merge request reports

Loading