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 date UDA when no modifications were made.
This commit is contained in:
parent
eeb4cf3dd8
commit
73043b868e
1 changed files with 3 additions and 1 deletions
|
@ -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 != "")
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue