mirror of
https://codeberg.org/vyn/mirai.git
synced 2025-07-03 01:33:19 +00:00
Add 'Time' and 'Tags' as proper task's properties, also add raw format handling
This commit is contained in:
parent
3e7d8b4b70
commit
bae67e6851
15 changed files with 142 additions and 49 deletions
|
@ -25,7 +25,7 @@ namespace mirai {
|
|||
for (auto& task : file.getTasks()) {
|
||||
if (tagsFilter.size() != 0
|
||||
&& std::find_if(tagsFilter.begin(), tagsFilter.end(), [&](const std::string& tag) {
|
||||
return task->getText().find(tag) != std::string::npos;
|
||||
return task->hasTag(tag);
|
||||
}) == tagsFilter.end())
|
||||
continue;
|
||||
tasksToShow.push_back(task.get());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue