Small error found in rrule.rb. Among other things, the documentation in vevent.rb for VEvent#occurs_in says: # Check if this event overlaps with the time period later than or equal to +t0+, but # earlier than +t1+. t1 was actually included in the interval. Here is a patch that fixes the issue (sorry for inlining, not sure if this list likes attachments): --- rrule.rb.orig 2005-11-21 16:04:24.000000000 -0600 +++ rrule.rb 2005-11-21 16:04:41.000000000 -0600 @@ -278,7 +278,7 @@ end # We are also done if current time is past the # caller-requested until. - if dountil && (y > dountil) + if dountil && (y >= dountil) return self end yield y Thanks! -- Brad Ediger 866-EDIGERS -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/vpim-talk/attachments/20051121/4604c54f/attachment.htm