Commit 410b9cba9382c170fe941c7046651dfa72db67b4
1 parent
2368cdb3
Exists in
staging
and in
4 other branches
Fix event warning
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/helpers/events_helper.rb
... | ... | @@ -30,7 +30,7 @@ module EventsHelper |
30 | 30 | # the day itself |
31 | 31 | date, |
32 | 32 | # is there any events in this date? |
33 | - events.any? {|event| event.date_range.include?(date)}, | |
33 | + events.any? {|event| event.date_range.cover?(date)}, | |
34 | 34 | # is this date in the current month? |
35 | 35 | true |
36 | 36 | ] | ... | ... |