From mboxrd@z Thu Jan 1 00:00:00 1970 From: rlane@club.cc.cmu.edu (Rich Lane) Date: Mon, 27 Jul 2009 20:19:29 -0700 Subject: [sup-talk] [PATCH 1/2] xapian: fix MAX_DATE Message-ID: <1248751170-4102-1-git-send-email-rlane@club.cc.cmu.edu> --- lib/sup/xapian_index.rb | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lib/sup/xapian_index.rb b/lib/sup/xapian_index.rb index 303b4d0..6358a20 100644 --- a/lib/sup/xapian_index.rb +++ b/lib/sup/xapian_index.rb @@ -14,7 +14,7 @@ class XapianIndex < BaseIndex ## so we must ensure they're reasonably valid. this typically only affect ## spam. MIN_DATE = Time.at 0 - MAX_DATE = Time.at(2**31) + MAX_DATE = Time.at(2**31-1) def initialize dir=BASE_DIR super -- 1.6.0.4