mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Bug
- Fix regression introduced in 73043b86
where UDA edits
were not detected for non-date types.
This commit is contained in:
parent
55813b6a09
commit
45202c292b
1 changed files with 2 additions and 3 deletions
|
@ -685,9 +685,8 @@ 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) &&
|
||||
(type == "date" && task.get (col->first)
|
||||
!= Date(value, dateformat).toEpochString ()))
|
||||
if ((task.get (col->first) != value) && (type != "date" ||
|
||||
(task.get (col->first) != Date(value, dateformat).toEpochString ())))
|
||||
{
|
||||
if (value != "")
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue