Skip to:

Opened 10 years ago

Closed 9 years ago

Last modified 9 years ago

#879 closed enhancement (fixed)

BB_Query should allow date ranges

Reported by: sambauers Owned by: mdawaffe
Milestone: 1.0 Priority: low
Severity: minor Version: 1.0-rc-2
Component: Back-end Keywords: BB_Query

Description (last modified by mdawaffe)

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'

Change History (5)

#1 @mdawaffe
10 years ago

  • Description modified (diff)
  • Owner set to mdawaffe
  • Status changed from new to assigned

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 "<>", "<->".

#2 @mdawaffe
10 years ago

(In [1521]) allow date ranges in BB_Query. Use '--' as the range operator for now. See #879

#3 @sambauers
9 years ago

  • Resolution set to fixed
  • Status changed from assigned to closed

ISO standard is good enough for me. Let's close this.

#4 @anonymous
9 years ago

  • Milestone 1.0-beta deleted

Milestone 1.0-beta deleted

#5 @sambauers
9 years ago

  • Milestone set to 1.0
Note: See TracTickets for help on using tickets.