(0,0) vs. Timerange.until_now() in methods to find events to get all events ever inserted
Bug #490242 reported by
Markus Korn
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zeitgeist Framework |
Fix Released
|
Low
|
Siegfried Gevatter |
Bug Description
For the time_range argument, there are two ways to query for all events ever inserted in Zeitgeist,
1.) using TimeRange.
2.) (0,0)
Strictly speaking both intervals means sth. completely different, and we should only allow one way here.
I vote for 1.) as this is the most natural way.
As a side note: I *thought* we already decided to not allow (0,0) but I might be wrong.
I dont see it as a problem! Its like having two options!
Or are you worried about consistency?