Date math in saved searches

Date math in saved searches

#94Idea

I haven't thought through exactly what this syntax might look like, so I just mean this to be an example:

I wish Kosshi let me write searches like @done:>=monday to find all rows tagged with @done(...) since that day. For extra bonus "OMG I love this" points, it would support expressions like @done:>={{monday - 7d}} to find dates since last Monday.

Then, especially if combined with the Auto-add @done tag idea, each week I could easily see what tasks I completed since last week, or this month, or this quarter, or this year.

Thanks for your question and suggestion!

Kosshi doesn't support weekdays or date calculations in searches yet, but you can search by week, month, or year:

  • This week: @done:this-week
  • Last week: @done:last-week
  • Last week and this week: @done:last-week OR @done:this-week
  • This month: @done:this-month
  • This year: @done:this-year

The start of the week follows your system settings.

Would these searches cover what you need? Quarters aren't supported yet. I'm not sure yet whether I can support more complex search syntax, but if you need more flexible filtering, please let me know what kinds of conditions you'd find useful. I'll look into it.

Those options are probably good enough to get started, and I can always post-process the results with another program. It would be nice to have the extra flexibility, but it's not crucial.

Delete post

The post body and edit history will be removed. A quiet marker remains only when visible replies link to this post.

Open original