mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-30 02:17:21 +02:00
- Fixed bug where relative dates in filters (task list due:eom,
task list due:tomorrow, task list due:23rd ...) are now properly supported.
This commit is contained in:
parent
df215f228d
commit
e9a71b7db9
6 changed files with 54 additions and 4 deletions
|
@ -79,6 +79,7 @@ void filter (std::vector<T>& all, T& task)
|
|||
// Apply attribute filter.
|
||||
matches = 0;
|
||||
foreach (a, attrList)
|
||||
{
|
||||
if (a->first == "project")
|
||||
{
|
||||
if (a->second.length () <= refTask.getAttribute (a->first).length ())
|
||||
|
@ -87,6 +88,7 @@ void filter (std::vector<T>& all, T& task)
|
|||
}
|
||||
else if (a->second == refTask.getAttribute (a->first))
|
||||
++matches;
|
||||
}
|
||||
|
||||
if (matches == attrList.size ())
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue