Skip to:
Content

Opened 6 years ago

Closed 6 years ago

Last modified 5 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
Cc:

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)

comment:1 mdawaffe6 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 "<>", "<->".

comment:2 mdawaffe6 years ago

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

comment:3 sambauers6 years ago

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

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

comment:4 anonymous5 years ago

  • Milestone 1.0-beta deleted

Milestone 1.0-beta deleted

comment:5 sambauers5 years ago

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