Code reviewed and tested. Looks good, however I am wary of the wildcard matching as it stands. I expect users will be confused by searching for month=2 and getting results for Feb. and Dec. And I can't imagine a use case where that's terribly helpful.
I propose we make the day and month fields be exact matches, adding preceding zeros where necessary (so '1' will match '01'), and have the year field be left-anchored, to accommodate the 197* query.
Code reviewed and tested. Looks good, however I am wary of the wildcard matching as it stands. I expect users will be confused by searching for month=2 and getting results for Feb. and Dec. And I can't imagine a use case where that's terribly helpful.
I propose we make the day and month fields be exact matches, adding preceding zeros where necessary (so '1' will match '01'), and have the year field be left-anchored, to accommodate the 197* query.
Thoughts?