diff --git a/src/Agenda.js b/src/Agenda.js index e8e5a9b8e..fcd8fdd85 100644 --- a/src/Agenda.js +++ b/src/Agenda.js @@ -147,7 +147,7 @@ function Agenda({ let range = dates.range(date, end, 'day') - events = events.filter(event => inRange(event, date, end, accessors)) + events = events.filter(event => inRange(event, dates.startOf(date, 'day'), dates.endOf(end, 'day'), accessors)) events.sort((a, b) => +accessors.start(a) - +accessors.start(b))