diff --git a/src/commands/CmdEdit.cpp b/src/commands/CmdEdit.cpp index 75f18dd7a..176c2eb09 100644 --- a/src/commands/CmdEdit.cpp +++ b/src/commands/CmdEdit.cpp @@ -685,7 +685,9 @@ void CmdEdit::parseTask (Task& task, const std::string& after, const std::string if (type != "") { std::string value = findValue (after, "\n UDA " + col->first + ":"); - if (task.get (col->first) != value) + if ((task.get (col->first) != value) && + (type == "date" && task.get (col->first) + != Date(value, dateformat).toEpochString ())) { if (value != "") {