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