- 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:
Paul Beckingham 2008-09-12 15:25:38 -04:00
parent df215f228d
commit e9a71b7db9
6 changed files with 54 additions and 4 deletions

View file

@ -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 ())
{