Bug Fix - due date, colorization

- Fixed bug that caused colorization to be way, way off.  Silly
  mistake.
- Fixed bug whereby due dates and durations were stored as-is, but
  should have been converted.
- On a related note, added Date::toEpochString,
  Duration::operator (std::string).
This commit is contained in:
Paul Beckingham 2009-06-17 22:52:04 -04:00
parent f701f10234
commit 7e2da42f40
9 changed files with 57 additions and 45 deletions

View file

@ -523,21 +523,17 @@ void Context::autoFilter ()
header ("auto filter: " + att->first + ".startswith:" + att->second.value ());
}
// TODO Don't create a uuid for every task?
// Every task has a unique uuid by default, and it shouldn't be included.
// The mechanism for filtering on tags is +/-<tag>, not tags:foo which
// means that there can only be one tag, "foo".
else if (att->first != "uuid" &&
att->first != "tags" &&
att->first != "project")
att->first != "tags")
{
filter.push_back (att->second);
header ("auto filter: " + att->first + ":" + att->second.value ());
}
}
// TODO Include Annotations as part of the description?
// Include tagAdditions.
foreach (tag, tagAdditions)
{