Bug Fix - #206
- Fixed bug that prevented "task list start.after:1/1/2009" from working. Big, nasty bug.
This commit is contained in:
@@ -557,7 +557,7 @@ bool Att::match (const Att& other) const
|
||||
}
|
||||
else if (which == "date")
|
||||
{
|
||||
Date literal ((time_t)::atoi (mValue.c_str ()));
|
||||
Date literal (mValue.c_str (), context.config.get ("dateformat", "m/d/Y"));
|
||||
Date variable ((time_t)::atoi (other.mValue.c_str ()));
|
||||
if (other.mValue == "" || ! (variable < literal))
|
||||
return false;
|
||||
@@ -587,7 +587,7 @@ bool Att::match (const Att& other) const
|
||||
}
|
||||
else if (which == "date")
|
||||
{
|
||||
Date literal ((time_t)::atoi (mValue.c_str ()));
|
||||
Date literal (mValue.c_str (), context.config.get ("dateformat", "m/d/Y"));
|
||||
Date variable ((time_t)::atoi (other.mValue.c_str ()));
|
||||
if (! (variable > literal))
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user