mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Task: Uses named dates for YEAR virtual tag
This commit is contained in:
parent
cb0873d14b
commit
386226f404
1 changed files with 2 additions and 1 deletions
|
@ -507,7 +507,8 @@ bool Task::is_dueyear () const
|
||||||
status != Task::deleted)
|
status != Task::deleted)
|
||||||
{
|
{
|
||||||
Datetime due (get_date ("due"));
|
Datetime due (get_date ("due"));
|
||||||
if (due.sameYear (Datetime ()))
|
if (due >= Datetime ("soy") &&
|
||||||
|
due <= Datetime ("eoy"))
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue