mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Bug
- Fix a bug where CmdEdit reported modifications to a duration UDA when no modifications were made.
This commit is contained in:
parent
de1e413d73
commit
dc2e0c1c97
2 changed files with 4 additions and 1 deletions
|
@ -675,7 +675,9 @@ 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 ())) &&
|
||||
(type != "duration" ||
|
||||
(task.get (col->first) != (std::string) Duration (value) )))
|
||||
{
|
||||
if (value != "")
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue