courts/ical2rem.rb — pull request #3 by cwarden (2011-10-26 22:17:36+00:00)
Title: Fix for calculating duration

When an calendar event starts before midnight UTC and ends after
midnight UTC, an extra day was being added to the duration. For example,
these start and end dates would be calcuated as a 25 hour event instead
of a 1 hour one:

DTSTART:20111026T233000Z
DTEND:20111027T003000Z