Recurrence

- Child tasks now have their own entry date, instead of inheriting it
  from the parent.  This improves the ability to report new tasks in
  the burndown charts, history report.
This commit is contained in:
Paul Beckingham 2010-11-22 23:11:45 -05:00
parent ead7cfe2b8
commit 9fd9e8e3a8

View file

@ -100,6 +100,7 @@ void handleRecurrence ()
Task rec (*t); // Clone the parent.
rec.set ("uuid", uuid ()); // New UUID.
rec.set ("parent", t->get ("uuid")); // Remember mom.
rec.setEntry (); // New entry date.
char dueDate[16];
sprintf (dueDate, "%u", (unsigned int) d->toEpoch ());