- Fix a bug where CmdEdit reported modifications to a date UDA when no
  modifications were made.
This commit is contained in:
Scott Kostyshak 2012-12-26 03:08:05 -05:00 committed by Paul Beckingham
parent eeb4cf3dd8
commit 73043b868e

View file

@ -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 != "")
{