diff --git a/src/Task.cpp b/src/Task.cpp index 3d1b7cee6..9fe3473c5 100644 --- a/src/Task.cpp +++ b/src/Task.cpp @@ -661,7 +661,7 @@ std::string Task::composeJSON (bool include_id /*= false*/) const { Date d (i->second); out << "\"" - << i->second + << i->first << "\":\"" << d.toISO () << "\"";