Bug
- Fix a bug where CmdEdit reported modifications to a date UDA when no modifications were made.
This commit is contained in:
committed by
Paul Beckingham
parent
eeb4cf3dd8
commit
73043b868e
@@ -685,7 +685,9 @@ void CmdEdit::parseTask (Task& task, const std::string& after, const std::string
|
|||||||
if (type != "")
|
if (type != "")
|
||||||
{
|
{
|
||||||
std::string value = findValue (after, "\n UDA " + col->first + ":");
|
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 != "")
|
if (value != "")
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user