lib/event_calendar.rb in event-calendar-2.3.2 vs lib/event_calendar.rb in event-calendar-2.3.3
- old
+ new
@@ -55,10 +55,10 @@
:conditions => [ "(? <= #{self.end_at_field}) AND (#{self.start_at_field}< ?)", start_d.to_time.utc, end_d.to_time.utc ],
:order => "#{self.start_at_field} ASC"
)
end
- # Create the various strips that show evetns
+ # Create the various strips that show events.
def create_event_strips(strip_start, strip_end, events)
# create an inital event strip, with a nil entry for every day of the displayed days
event_strips = [[nil] * (strip_end - strip_start + 1)]
events.each do |event|