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

Fernando <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #5 from Fernando <[email protected]> ---
I can still reproduce this issue with Plasma 6.7.4 on Wayland in the
America/Sao_Paulo time zone.

I investigated it and found that DaysModel::agendaUpdated passes a QDate, which
is exposed to QML as midnight UTC. CalendarView compares it with the locally
constructed current date using local date components. In UTC-3, August 7 at
00:00 UTC becomes August 6 at 21:00 local time, so the agenda update is
incorrectly rejected as belonging to another day.

I submitted a merge request that compares the UTC components of the QDate with
the local components of the selected date:
https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/6903

I built and tested the patched Digital Clock applet locally with the PIM Events
plugin. Today's events now appear correctly on the first opening.

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

Reply via email to