Commit be885bca authored by Glen Ditchfield's avatar Glen Ditchfield 🐛
Browse files

Google tasks are all-day tasks

In the current Google tasks api
the "due" field only contains date information;  the time portion is fixed
at 00:00 UTC.  Treating it as a meaningful UTC date-time causes KOrganizer
to display the task at an arbitrary time, and probably on the wrong day.
Treating Google tasks as all-day tasks works around the problem.
parent 676253a1
Pipeline #42872 passed with stage
in 6 minutes and 3 seconds
......@@ -225,6 +225,8 @@ ObjectPtr Private::JSONToTask(const QVariantMap &jsonData)
// "due" is date-only -- no time-of-day given.
if (task->status() == KCalendarCore::Incidence::StatusCompleted) {
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