Strtotime() function is not working in filter query

for example if i use the following queries they are not working in search panel:

  1. due: +2 weeks
  2. due: -2 days
  3. due: next Friday

But if I use specific date then it is working:

due: >= 2019-02-08

due:"+2 Days"
due:"-2 Days"
due:"next Friday"
due:Friday or due:"Friday"

Must quote when Spaces, and can’t have a space between due: and your condition

Thanks for clear explanation.

Hello for display all task closed -10 days…
If i write -10 days, i haven’t all task …-9 - 8 -7 etc…

because “-10 days” is not a range.

So why is it written in the online documentation :

the documentation is correct. you’re missing the point though. it’s not a range. it represents exactly what it means, “-10 Days” is 10 days earlier than the day you ask the question, not every day in between.
your questions says:

and that is exactly correct, because -10 days represents the day that happened 10 days earlier than when you asked the question, not every day in between.

1 Like