Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

fix(monthView): fix recurring events

Closes #504
  • Loading branch information...
Matt Lewis
Matt Lewis committed Dec 13, 2016
1 parent 1d79f85 commit ccb97cd5ab8616196528d3a2fca7d8254d2a20d7
Showing with 5 additions and 2 deletions.
  1. +5 −2 src/services/calendarHelper.js
@@ -135,8 +135,11 @@ angular

// hack required to work with the calendar-utils api
events.forEach(function(event) {
event.start = event.startsAt;
event.end = event.endsAt;
var eventPeriod = getRecurringEventPeriod({
start: moment(event.startsAt),
end: moment(event.endsAt || event.startsAt)
}, event.recursOn, moment(viewDate).startOf('month'));
angular.extend(event, eventPeriod);
});

var view = calendarUtils.getMonthView({

0 comments on commit ccb97cd

Please sign in to comment.
You can’t perform that action at this time.