Skip to content

Preserve timeSpec of all-day event's dtEnd

An all-day event's dtStart has a timeSpec that is Qt::LocalTime, and in that case QDateTime::timeZone() returns whatever the system time zone is set to. dtEnd should also be a LocalTime, but constructing it from dtStart's timeZone sets its timeSpec to Qt::TimeZone.

@dcaliste @dfaure

Merge request reports