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

Joshua Goins <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/plasma-workspace/-/commi
                   |                            |t/f2e88391b601675bcec3e0ff2
                   |                            |193560d95cfffc6
            Version|                            |6.5.3
  Fixed/Implemented|                            |
                 In|                            |
         Resolution|---                         |FIXED
             Status|ASSIGNED                    |RESOLVED

--- Comment #2 from Joshua Goins <[email protected]> ---
Git commit f2e88391b601675bcec3e0ff2193560d95cfffc6 by Joshua Goins.
Committed on 11/11/2025 at 20:10.
Pushed by redstrate into branch 'master'.

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

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

https://invent.kde.org/plasma/plasma-workspace/-/commit/f2e88391b601675bcec3e0ff2193560d95cfffc6

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

Reply via email to