Branch: Tag:

2006-01-11

2006-01-11 19:15:09 by Martin Bähr <mbaehr@email.archlab.tuwien.ac.at>

fix for YMD->how_many() always returning 1 less than the correct number

Rev: lib/modules/Calendar.pmod/TimeRanges.pmod:1.29
Rev: lib/modules/Calendar.pmod/YMD.pike:1.14

1:   //! module Calendar    - // $Id: TimeRanges.pmod,v 1.28 2004/03/30 18:11:59 nilsson Exp $ + // $Id: TimeRanges.pmod,v 1.29 2006/01/11 19:15:09 mbaehr Exp $      #pike __REAL_VERSION__   
678:       int(0..1) `==(TimeRange what)    { -  return object_program(what)==this_program && -  what->ruleset()==ruleset() && -  equals(what); +  return what->ruleset()==ruleset() && equals(what);    }       int __hash();