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