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

--- Comment #6 from Daniel Vrátil <dvra...@kde.org> ---
Git commit 916130a1c168c6e36a960c6c706a650b949cc0cc by Daniel Vrátil.
Committed on 11/01/2024 at 10:04.
Pushed by dvratil into branch 'master'.

Agenda: fix timezone being lost when moving event by drag

The code was using QDateTime::toTimeSpec() in attempt to restore the
timezone from the original dtStart/dtEnd. However, QDateTime::toTimeSpec()
automatically converts Qt::TimeZone timespec to Qt::LocalTime, so the
information about timezone was lost and the time was treated as local.

The solution is to restore the timezone manually when the original
timespec was Qt::TimeZone.
FIXED-IN: 5.24.1
(cherry picked from commit def2b7f4cc507bcf8f64540e77dd736ebb751e7d)

M  +22   -4    src/agenda/agendaview.cpp

https://invent.kde.org/pim/eventviews/-/commit/916130a1c168c6e36a960c6c706a650b949cc0cc

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to