Update "modified" on modification

This commit is contained in:
Dustin J. Mitchell
2023-05-28 16:58:48 +00:00
committed by Dustin J. Mitchell
parent a1b64a05ba
commit 6cd5bf1237
3 changed files with 17 additions and 1 deletions

View File

@@ -1826,7 +1826,7 @@ void Task::validate (bool applyDefault /* = true */)
if ((status == Task::pending) && (get ("end") != ""))
remove ("end");
// Provide an entry date unless user already specified one.
// Provide a modified date unless user already specified one.
if (! has ("modified") || get ("modified") == "")
setAsNow ("modified");