Date Search Syntax suggestion

Have a suggestion for "Everything"? Please post it here.
Post Reply
eagleeyez
Posts: 43
Joined: Thu Mar 17, 2016 3:58 pm

Date Search Syntax suggestion

Post by eagleeyez »

Hello Again Void.

I have a tiny suggestion about these functions

dateaccessed:<date> Search for files and folders with the specified date accessed.
datecreated:<date> Search for files and folders with the specified date created.
datemodified:<date> Search for files and folders with the specified date modified.
daterun:<date> Search for files and folders with the specified date run.
da:<date> Search for files and folders with the specified date accessed.

It will be great to add the support for few keywords that translate to dates (like many other software do)... Today, Yesterday, Last Week, Last Month, etc...

I can help you compile the common words for this purpose if there is need... but this library can help you with the functions https://momentjs.com

Thank you again!
void
Developer
Posts: 16744
Joined: Fri Oct 16, 2009 11:31 pm

Re: Date Search Syntax suggestion

Post by void »

Thanks for the link and suggestions.

Everything already handles the following syntax:
today
yesterday
tomorrow
<last|past|prev|current|this|coming|next><year|month|week>
<last|past|prev|coming|next><x><years|months|weeks|days|hours|minutes|mins|seconds|secs>
january|february|march|april|may|june|july|august|september|october|november|december
jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec
sunday|monday|tuesday|wednesday|thursday|friday|saturday
sun|mon|tue|wed|thu|fri|sat
unknown
ISO 8601


The todayat9:30 syntax is interesting. I'll consider adding support for this.
eagleeyez
Posts: 43
Joined: Thu Mar 17, 2016 3:58 pm

Re: Date Search Syntax suggestion

Post by eagleeyez »

Oh!

I apology for not checking this further for some reason when I tested this it didn't work but now I see that you are absolutely right they are implanted, and they are working like charm :)
Post Reply