mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Recurrence: Stubbed Task upgrade function
This commit is contained in:
parent
5ef2a256a6
commit
1f6ea2a8ad
1 changed files with 10 additions and 0 deletions
|
@ -29,6 +29,16 @@
|
|||
|
||||
extern Context context;
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
// Given an old-style task, upgrades it perfectly.
|
||||
// Note: Works for both parent and child.
|
||||
static Task upgradeTask (const Task&)
|
||||
{
|
||||
Task upgraded;
|
||||
|
||||
return upgraded;
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
// Calculates the due date for a new new instance N.
|
||||
static Datetime calculateDueN (const Task&, int)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue