[dev] Turba listTimeObject / sql BETWEEN issues

Chuck Hagenbuch chuck at horde.org
Tue Dec 4 05:19:44 UTC 2007


Quoting Michael Rubinsky <mike at theupstairsroom.com>:

> The only solution I came up with was to check if we are "reversed"  
> in  our date range check...if we are then we should not check for a  
> date  *range*, but check for the month value only.  This would be  
> overkill  for the day/week views, but would still be less then  
> grabbing all the  records from the db as we did before. For the  
> month view, we could  pull the prev and the next month as well.
>
> Thoughts?

That all sounds reasonable to me.

-chuck


More information about the dev mailing list