[haiku-development] Re: Querying all file changed since 10 minutes ago (was: Where are the Sounds preference settings?)

  • From: Ingo Weinhold <ingo_weinhold@xxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Sat, 06 Dec 2008 22:00:30 +0100

On 2008-12-06 at 19:38:39 [+0100], Humdinger <humdingerb@xxxxxxxxxxxxxx> 
wrote:
> Ingo Weinhold wrote:
> -- query for all files modified within the last 10 minutes
> > Should work with "last_modified>=%-10 minutes%" (the minus was missing).
> 
> I'm never sure if it's "before" or "after"... :)
> The above lists every existing file, so I guess it should be 
> "last_modified<=%-10 minutes%".

No, the above is just fine. It works as expected under BeOS.

> That doesn't work either.
> Dimmly I remember, asking about other "magic" words in queries, like "last 
> Monday" or
> "yesterday" and IIRC Axel offered that Haiku is yet missing these things.
> Could it be that "minutes" isn't recognized either?

Well, Axel should know, as he wrote our parsedate(). The only TODOs in the 
source code refer to adding more time zones and support for other languages, 
though.

[...]
> I still think the "magic" words don't work. If nobody intervenes, I'll file 
> a bugreport
> for that.

Please do.

CU, Ingo

Other related posts: