mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Task: Uses named dates to WEEK virtual tag
This commit is contained in:
parent
bae64cd95c
commit
768767866f
1 changed files with 2 additions and 1 deletions
|
@ -447,7 +447,8 @@ bool Task::is_dueweek () const
|
||||||
status != Task::deleted)
|
status != Task::deleted)
|
||||||
{
|
{
|
||||||
Datetime due (get_date ("due"));
|
Datetime due (get_date ("due"));
|
||||||
if (due.sameWeek (Datetime ()))
|
if (due >= Datetime ("sow") &&
|
||||||
|
due <= Datetime ("eow"))
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue