Skip to content
This repository has been archived by the owner on Jun 19, 2018. It is now read-only.

Commit

Permalink
fix(weekView): fix event span for end of day events
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Lewis committed Oct 10, 2016
1 parent 75d84c6 commit 5e038c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/calendarHelper.js
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ angular

var eventPeriod = getRecurringEventPeriod({
start: moment(event.startsAt),
end: moment(event.endsAt || event.startsAt).add(1, 'second')
end: moment(event.endsAt || event.startsAt)
}, event.recursOn, weekViewStart);

eventPeriod.originalEvent = event;
Expand Down

0 comments on commit 5e038c5

Please sign in to comment.