mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Feature #457
- Tasks may now be given an 'until' date, after which they expire and are deleted.
This commit is contained in:
parent
d122173103
commit
665bc197dc
11 changed files with 40 additions and 18 deletions
|
@ -1154,10 +1154,6 @@ void Task::validate ()
|
|||
if (! has ("due") && has ("recur"))
|
||||
throw std::string (STRING_TASK_VALID_REC_DUE);
|
||||
|
||||
// Cannot have an until date no recurrence frequency.
|
||||
if (has ("until") && !has ("recur"))
|
||||
throw std::string (STRING_TASK_VALID_UNTIL);
|
||||
|
||||
// Recur durations must be valid.
|
||||
if (has ("recur"))
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue