mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
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:
parent
ead7cfe2b8
commit
9fd9e8e3a8
1 changed files with 1 additions and 0 deletions
|
@ -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 ());
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue