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

Joshua Goins <[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/f2e88391b601675bcec3e0ff2 |t/05ca09077db885ecc570bb7fa
                   |193560d95cfffc6             |4db05213702e865

--- Comment #3 from Joshua Goins <[email protected]> ---
Git commit 05ca09077db885ecc570bb7fa4db05213702e865 by Joshua Goins.
Committed on 11/11/2025 at 20:11.
Pushed by redstrate into branch 'Plasma/6.5'.

applets/notifications: Fix notification time labels

This was introduced in 9f9b96e1e443d8f4c5636ef99976674267c508d3 it
seems, due to the fact that the logic which decides which timestamp to
use (created or updated) depends on the property being nullable.
However, when we don't use var but a specified property type it doesn't
become nullable - just a regular invalid JS Date object.

We can use isNaN here while keeping the existing required property
intact and that fixes the issue.
FIXED-IN: 6.5.3


(cherry picked from commit f2e88391b601675bcec3e0ff2193560d95cfffc6)

Co-authored-by: Joshua Goins <[email protected]>

M  +1    -1    applets/notifications/FullRepresentation.qml
M  +1    -1    applets/notifications/global/Globals.qml

https://invent.kde.org/plasma/plasma-workspace/-/commit/05ca09077db885ecc570bb7fa4db05213702e865

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

Reply via email to