Date based searches are a bit of a moving target right now.
In TaskPaper 2 there was no such thing... everything was string based. That's one of the big reasons for formatting dates as YYYY/MM/DD so that compare operators in the query syntax work correctly on them.
In TaskPaper 3 the default is also string based searches. But in TaskPaper 3 you also have the option to do real date based searching. To do that use the date modifier (
[d]) after any comparison operator. Here's an example:
@start <[d] today
[d] follows the
< before the comparison is done both sides are first translated into dates. And here's where we hit the moving target. The current translation is to:
tomorrow to the start of tomorrow.
today to the start of today.
- or return a date using the built in
Problem is I don't know the details of
Date.parse(value) except I think it's not cross platform and I know it doesn't support relative dates. More detail on the formats that it takes may be found here.
I'm still deciding on what date based formats I'll support in the end.