- Implemented Task::setEnd.
- Updated all code to use Task::setEntry and Task::setEnd.
This commit is contained in:
Paul Beckingham
2011-07-10 11:07:00 -04:00
parent ad55fa2d79
commit ba723db9d7
3 changed files with 60 additions and 51 deletions

View File

@@ -75,9 +75,7 @@ void handleRecurrence ()
<< "\n";
// Determine the end date.
char endTime[16];
sprintf (endTime, "%u", (unsigned int) time (NULL));
t->set ("end", endTime);
t->setEnd ();
t->setStatus (Task::deleted);
context.tdb.update (*t);
continue;