Task: Uses named dates for MONTH virtual tag

This commit is contained in:
Paul Beckingham 2017-03-08 08:33:55 -05:00
parent 768767866f
commit ba4113d567

View file

@ -467,7 +467,8 @@ bool Task::is_duemonth () const
status != Task::deleted)
{
Datetime due (get_date ("due"));
if (due.sameMonth (Datetime ()))
if (due >= Datetime ("som") &&
due <= Datetime ("eom"))
return true;
}
}