mirror of
https://codeberg.org/vyn/mirai.git
synced 2025-07-03 01:33:19 +00:00
Show tasks with deadline first, in order
This commit is contained in:
parent
3030e15d5e
commit
d1a4858504
4 changed files with 19 additions and 1 deletions
|
@ -75,6 +75,11 @@ bool TaskItem::hasDate() const
|
|||
return isDate(data.date);
|
||||
}
|
||||
|
||||
bool TaskItem::hasTime() const
|
||||
{
|
||||
return getStartTime() != "" && getEndTime() != "";
|
||||
}
|
||||
|
||||
bool TaskItem::hasTag(const std::string &tag) const
|
||||
{
|
||||
return vectorUtils::contains(data.tags, tag);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue