mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Enhancements - modifiers
- Now only allows one modifier. - Removed "not", "synth", "next", "first", "last" modifiers. - Modified match logic.
This commit is contained in:
parent
5a0535c9b5
commit
bd0309b4ff
6 changed files with 160 additions and 153 deletions
|
@ -430,6 +430,15 @@ void Task::removeTag (const std::string& tag)
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
void Task::validate () const
|
||||
{
|
||||
// Every task needs an ID.
|
||||
/*
|
||||
if (sequence[0] == 0)
|
||||
throw std::string ("Every task needs an ID.");
|
||||
*/
|
||||
|
||||
// TODO Every task needs an ID, entry and description attribute.
|
||||
|
||||
|
||||
// TODO Verify until > due
|
||||
// TODO Verify entry < until, due, start, end
|
||||
// TODO If name == "recur", then Duration::valid (value).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue