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:
@@ -100,6 +100,7 @@ void handleRecurrence ()
|
|||||||
Task rec (*t); // Clone the parent.
|
Task rec (*t); // Clone the parent.
|
||||||
rec.set ("uuid", uuid ()); // New UUID.
|
rec.set ("uuid", uuid ()); // New UUID.
|
||||||
rec.set ("parent", t->get ("uuid")); // Remember mom.
|
rec.set ("parent", t->get ("uuid")); // Remember mom.
|
||||||
|
rec.setEntry (); // New entry date.
|
||||||
|
|
||||||
char dueDate[16];
|
char dueDate[16];
|
||||||
sprintf (dueDate, "%u", (unsigned int) d->toEpoch ());
|
sprintf (dueDate, "%u", (unsigned int) d->toEpoch ());
|
||||||
|
|||||||
Reference in New Issue
Block a user