Permalink
Browse files

Merge pull request #1 from thomasf/patch-enddate

Fix crash if event has no end date
  • Loading branch information...
2 parents 1df6681 + b4e318f commit 59c02a72865f5bc4ada4b4dce59fd04b928f4eec @simonthum committed Apr 23, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 ical2org.rb
View
@@ -78,6 +78,7 @@ def fixupEndTime(tend)
# single-day ical time span?
def simpleTimeSpan?(tstart, tend)
+ return true if tend.nil?
tend = fixupEndTime(tend)
# test date equality
if (tstart.day == tend.day &&

0 comments on commit 59c02a7

Please sign in to comment.