Hi all, I'm loving Kagi.
Got a quick suggestion to extend date definitions to be fully parametric. You already have a parametric "Yesterday" filter hard-coded in. I would like to be able select from other options.
Ideally, I would like to be able to choose between the calendar GUI widget, or enable a typed-in specification.
Using Voidtools' Everything, which has a comprehensive date definition syntax, a query which finds pages created in the last 2 months might look like:
dc:past2months..now
There might be the need to tune the date functions (creates vs updated vs last indexed vs first indexed, etc)
Voidtools Everthing date search syntax
Functions:
...
dc: Search for files and folders where the date created matches the specified date.
...
dm: Search for files and folders where the date modified matches the specified date.
Function Syntax:
function:value Equal to value within the specified granularity.
function:<=value Less than or equal to value.
function:<value Less than value.
function:=value Exactly equal to value.
function:==value Exactly equal to value.
function:>value Greater than value.
function:>=value Greater than or equal to value.
function:!=value Not equal to value.
function:!value Not equal to value with specified granularity.
function:start..end Is in the range of values from start to end (inclusive).
function:start-end Is in the range of values from start to end (inclusive).
Size Syntax:
size[kb|mb|gb]
Size Constants:
empty
tiny 0 KB < size <= 10 KB
small 10 KB < size <= 100 KB
medium 100 KB < size <= 1 MB
large 1 MB < size <= 16 MB
huge 16 MB < size <= 128 MB
gigantic size > 128 MB
unknown
Duration Syntax:
[[[DD:]HH:]MM:]SS[.sss]
[<n><d|day|days>][<n><h|hour|hours>][<n><m|min|mins|minute|minutes>][<n><s|sec|secs|second|seconds>]
P[n]Y[n]M[n]DT[n]H[n]M[n]S
P[n]W
PYYYYMMDDThhmmss
P[YYYY]-[MM]-[DD]T[hh]:[mm]:[ss]
Duration Constants:
very-short Under 1 minute
short 1 - 5 minutes
medium 5 - 30 minutes
long 30 - 60 minutes
very-long Over 60 minutes
unknown
Date Syntax:
year
month/year or year/month depending on locale settings
day/month/year, month/day/year or year/month/day depending on locale settings
YYYY[-MM[-DD[Thh[:mm[:ss[.sss]]]]]]
YYYYMMDD[Thh[mm[ss[.sss]]]]]
YYMMDD
FILETIME (>99999999)
Date Constants:
today
yesterday
<last|current|this|coming|next><year|month|week>
<last|coming|next><x><years|months|weeks|days|hours|minutes|mins|seconds|secs>
past[x]<year[s]|month[s]|week[s]|day[s]|hour[s]|minute[s]|min[s]|second[s]|sec[s]>
<prev|previous>[x]<year[s]|month[s]|week[s]>
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
mtd|ytd
unknown
Anyway, I hope something like this can be hammered out. Thanks again for everything.