gnome-shell/js
Florian Müllner 906a0d1131 dateMenu: Fix temperature edge case
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.

Math.trunc() has the same effect as `%.0f` and handles that edge
case correctly, but while at it, we can just as well round the
value properly.

https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3441

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1548>


(cherry picked from commit e85d127ae3)
2020-12-26 19:55:26 +00:00
..
dbusServices notificationDaemon: Fix grouping by PID 2020-05-29 21:59:10 +02:00
gdm loginDialog: Reset auth prompt on vt switch before fade in 2020-07-27 16:52:49 -04:00
misc systemActions: Filter out empty (folded) terms 2020-10-06 20:35:26 +02:00
perf cleanup: Require "dangling" commas 2019-11-11 19:25:14 +00:00
portalHelper js: Don't use templates in files with translations 2020-02-17 23:20:40 +01:00
ui dateMenu: Fix temperature edge case 2020-12-26 19:55:26 +00:00
js-resources.gresource.xml swipeTracker: Introduce swipe tracker 2020-01-10 18:20:22 +01:00
meson.build extensions-app: Move Extensions app to new subproject 2020-03-27 23:33:30 +00:00
portal-resources.gresource.xml js: Remove unused files from resources 2020-03-09 13:18:48 +00:00