[Bb-trac] Re: [bbPress] #879: BB_Query should allow date ranges
bbPress
bb-trac at lists.bbpress.org
Mon May 12 20:10:06 GMT 2008
#879: BB_Query should allow date ranges
-------------------------+--------------------------------------------------
Reporter: sambauers | Owner: mdawaffe
Type: enhancement | Status: assigned
Priority: low | Milestone: 1.0-beta & XML-RPC
Component: Back-end | Version: 1.0-alpha (trunk)
Severity: minor | Resolution:
Keywords: BB_Query |
-------------------------+--------------------------------------------------
Changes (by mdawaffe):
* owner: => mdawaffe
* status: new => assigned
Old description:
> At the moment dates passed to BB_Query can be exact or greater-than/less-
> than.
>
> Support for ranges would be nice too e.g.:
>
> `
> 'updated' => '2008-04-01:2008-04-31'
> `
New description:
At the moment dates passed to BB_Query can be exact or greater-than/less-
than.
Support for ranges would be nice too e.g.:
{{{
'updated' => '2008-04-01:2008-04-31'
}}}
Comment:
We can't use ":" since it's the natural punctuation for time.
ISO 8601 defines the range symbol as "/", but allows "--" to be used as
well.
How about we use "--"?
Other ideas are "<>", "<->".
--
Ticket URL: <http://trac.bbpress.org/ticket/879#comment:1>
bbPress <http://bbpress.org/>
Innovative forum development
More information about the Bb-trac
mailing list