https://bugs.kde.org/show_bug.cgi?id=522037

Nate Graham <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
                   |ma/plasma-workspace/-/commi |ma/plasma-workspace/-/commi
                   |t/c011421f837b47db928b5ef28 |t/246e662d5cc19ee742fb4b148
                   |0782b4acd7c9a98             |21731f06075581d

--- Comment #5 from Nate Graham <[email protected]> ---
Git commit 246e662d5cc19ee742fb4b14821731f06075581d by Nate Graham.
Committed on 01/07/2026 at 16:02.
Pushed by ngraham into branch 'Plasma/6.7'.

applets/digital-clock: fix timezone offset

`formatOffset()` used a floored signed offset to calculate hours,
but used a signed modulo to calculate minutes. This produced
invalid output for negative offsets with a minute component, such
as "2:-30 earlier" for a -90 minute offset.

Calculate both components from the absolute offset while retaining
the original sign to choose between "earlier" and "later".
FIXED-IN: 6.7.3


(cherry picked from commit c011421f837b47db928b5ef280782b4acd7c9a98)

c3d83e92 applets/digital-clock: fix timezone offset

Co-authored-by: Michael Kohl <[email protected]>

M  +3    -2    applets/digital-clock/main.qml

https://invent.kde.org/plasma/plasma-workspace/-/commit/246e662d5cc19ee742fb4b14821731f06075581d

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to