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
ba4113d567
commit
cb0873d14b
1 changed files with 2 additions and 1 deletions
|
@ -487,7 +487,8 @@ bool Task::is_duequarter () const
|
|||
status != Task::deleted)
|
||||
{
|
||||
Datetime due (get_date ("due"));
|
||||
if (due.sameQuarter (Datetime ()))
|
||||
if (due >= Datetime ("soq") &&
|
||||
due <= Datetime ("eoq"))
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue