mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Bug
- fixed #526, false warning about wait date, when both are modified simultaneously
This commit is contained in:
parent
558bf2ca50
commit
b56b5bc29d
1 changed files with 2 additions and 1 deletions
|
@ -1669,7 +1669,8 @@ int handleModify (std::string& outs)
|
|||
throw std::string ("You cannot remove the recurrence from a recurring task.");
|
||||
|
||||
if ((task->has ("wait") && context.task.has ("due") && Date (context.task.get ("due")) < Date (task->get ("wait"))) ||
|
||||
(context.task.has ("wait") && task->has ("due") && Date (task->get ("due")) < Date (context.task.get ("wait"))) ||
|
||||
(context.task.has ("wait") && !context.task.has ("due") && task->has ("due") && Date (task->get ("due")) < Date (context.task.get ("wait"))) ||
|
||||
(context.task.has ("wait") && context.task.has ("due") && Date (context.task.get ("due")) < Date (context.task.get ("wait"))) ||
|
||||
(task->has ("wait") && task->has ("due") && Date (task->get ("due")) < Date (task->get ("wait"))))
|
||||
context.footnote ("Warning: the wait date falls after the due date.");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue