Commit 3476787f authored by Daniel Vrátil's avatar Daniel Vrátil 🤖

User helper methods to convert between KDT and QDT

parent e43beeaa
......@@ -30,6 +30,7 @@
#include <KCalCore/ICalFormat>
#include <KCalCore/Incidence>
#include <KCalCore/MemoryCalendar>
#include <KCalCore/Utils>
#include <KLocalizedString>
......@@ -167,7 +168,7 @@ bool Utils::parseDavData(const KDAV::DavItem &source, Akonadi::Item &target, Ako
for (const IncidencePtr &exception : qAsConst(exceptions)) {
if (exception->status() == KCalCore::Incidence::StatusCanceled) {
KDateTime exDateTime(exception->recurrenceId());
KDateTime exDateTime(KCalCore::q2k(exception->recurrenceId()));
mainIncidence->recurrence()->addExDateTime(exDateTime);
} else {
// The exception remote id will contain a fragment pointing to
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment