Commits

Matt Chaput  committed f1460c5

Fixed copy/paste error.

  • Participants
  • Parent commits e63b611
  • Branches 2.4x

Comments (0)

Files changed (1)

File src/whoosh/sorting.py

         startdate = datetime(1920, 0, 0)
         enddate = datetime.now()
         gap = relativedelta(years=5)
-        bdays = RangeFacet("birthday", startdate, enddate, gap)
+        bdays = DateRangeFacet("birthday", startdate, enddate, gap)
         results = searcher.search(myquery, groupedby=bdays)
         
     The ranges/buckets are always **inclusive** at the start and **exclusive**