- New 'modified' attribute, which contains the most recent modification date,
  if a modification has occurred.
This commit is contained in:
Paul Beckingham
2012-09-27 00:56:41 -04:00
parent 8d8bd653fa
commit bb167b2275
12 changed files with 139 additions and 4 deletions

View File

@@ -577,6 +577,9 @@ void TDB2::modify (Task& task)
// Ensure the task is consistent, and provide defaults if necessary.
task.validate (false);
// All modified tasks are timestamped.
task.setModified ();
// Find task, overwrite it.
Task original;
get (task.get ("uuid"), original);