Re: date queries



Hi Stephan,

> How about that:
> date:-200401-. Probably illegal. But for me it behaves like -200401.

Fixed it. Now it wont parse as a date query.

> date:2007-2004, somehow unpredictable, but not like 2004-2007, looks
>     like everything between 2005-2006 is displayed.

Arghh... you found an annoying side-effect :P.
Year (or year-month) in the start-date is parsed to the first day of the year 
(or of year-month) and year in the end-date is parsed to the last day. So, 
2007-2004 becomes 2007/01/01-2004/12/31. The internal querying engine sees 
that start > end, and flips the range. So then it becomes, 
2004/12/31-2007/01/01 which is what you are seeing. I will think about how to 
best tackle it. For now, if you give "stupid queries", expect "stupid 
results" :-).

Btw, the beagle log file prints the interpretation of the date range queries, 
in case you need it.

> Don't beat me for this stupid queries ... ;).
On the contrary, thank you for your testing and feedback.

- dBera

-- 
-----------------------------------------------------
Debajyoti Bera @ http://dtecht.blogspot.com
beagle / KDE fan
Mandriva / Inspiron-1100 user



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]