[Solved] dm:<date> question

Discussion related to "Everything" 1.5 Alpha.
Post Reply
w64bit
Posts: 253
Joined: Wed Jan 09, 2013 9:06 am

[Solved] dm:<date> question

Post by w64bit »

If you add anything after <date> in dm:<date>
like dm:past2dxxxxxxxxxxxxxx
the xxxxxxxxxxxxxx is ignored.
Is this by design?
Last edited by w64bit on Tue Aug 02, 2022 1:31 pm, edited 1 time in total.
horst.epp
Posts: 1447
Joined: Fri Apr 04, 2014 3:24 pm

Re: dm:<date> question

Post by horst.epp »

And what is your expected result ?
Syntax Error or no results ?
w64bit
Posts: 253
Joined: Wed Jan 09, 2013 9:06 am

Re: dm:<date> question

Post by w64bit »

no results
void
Developer
Posts: 16755
Joined: Fri Oct 16, 2009 11:31 pm

Re: dm:<date> question

Post by void »

If you add anything after <date> in dm:<date>
like dm:past2dxxxxxxxxxxxxxx
the xxxxxxxxxxxxxx is ignored.
Is this by design?
Yes, the xxxxxxxxxxxxxx is ignored.

Everything will try to be as forgiving as possible.
In this specific case, the d will match days.

dm:past2dxxxxxxxxxxxxxx
is the same as
dm:past2days

I have on my TODO list to support the following syntax:
dm:2days12hours

Currently, Everything ignores the 12hours part.
Post Reply