mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Task: Uses named dates for QUARTER virtual tag
This commit is contained in:
parent
2e1e295ba4
commit
2485efa5f3
1 changed files with 2 additions and 1 deletions
|
@ -487,7 +487,8 @@ bool Task::is_duequarter () const
|
||||||
status != Task::deleted)
|
status != Task::deleted)
|
||||||
{
|
{
|
||||||
Datetime due (get_date ("due"));
|
Datetime due (get_date ("due"));
|
||||||
if (due.sameQuarter (Datetime ()))
|
if (due >= Datetime ("soq") &&
|
||||||
|
due <= Datetime ("eoq"))
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue