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:
@@ -42,8 +42,6 @@ bool Filter::pass (const Record& record) const
|
||||
// but it doesn't match, fail.
|
||||
foreach (att, (*this))
|
||||
{
|
||||
// TODO std::cout << "Filter::pass " << att->name () << "=" << att->value () << std::endl;
|
||||
|
||||
// If the record doesn't have the attribute, match against a default one.
|
||||
// This is because "att" may contain a modifier like "name.not:X".
|
||||
if ((r = record.find (att->name ())) == record.end ())
|
||||
|
||||
Reference in New Issue
Block a user