Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 9f21d4e5 authored by Daniel Vrátil's avatar Daniel Vrátil 🤖

Adapt to API changes in KCalUtils

parent 009d46b7
......@@ -48,8 +48,8 @@ QString proposalComment(const KCalCore::Incidence::Ptr &incidence)
case KCalCore::IncidenceBase::TypeEvent: {
const KDateTime dtEnd = incidence->dateTime(KCalCore::Incidence::RoleDisplayEnd);
comment = i18n("Proposed new meeting time: %1 - %2",
KCalUtils::IncidenceFormatter::dateToString(incidence->dtStart()),
KCalUtils::IncidenceFormatter::dateToString(dtEnd));
KCalUtils::IncidenceFormatter::dateToString(incidence->dtStart().toLocalZone().date()),
KCalUtils::IncidenceFormatter::dateToString(dtEnd.toLocalZone().date()));
}
break;
case KCalCore::IncidenceBase::TypeTodo: {
......
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