orgzly / orgzly-android

Outliner for taking notes and managing to-do lists
https://www.orgzly.com
GNU General Public License v3.0
2.7k stars 304 forks source link

7d != 1w ? #1060

Open ehula opened 1 month ago

ehula commented 1 month ago

I am trying to create some saved searches, but I have either found a bug or the documentation needs to be changed.

I want to show events with a deadline more than 1 week from now and less than or equal to 1 month from now. I created the following:

d.gt.1w d.le.1m

Today is Oct 4. An event I created with a deadline of Nov 5 does not show up in that search. However, if I change the search to:

d.gt.7d d.le.30d

then the search does include that event.

The documentation gives the following examples:

5d – five days from today
3m – three months from today

but that doesn't seem to be true. 3m doesn't behave like "three months from today", but "three months from the 1st of the current month".

Can someone provide some clarity. Is it a bug, or inaccurate documentation?