mattlewis92 / angular-bootstrap-calendar

A port of the bootstrap calendar widget to AngularJS (no jQuery required!)
https://mattlewis92.github.io/angular-bootstrap-calendar/
MIT License
798 stars 369 forks source link

rrules are not recognized #618

Closed reshadf closed 7 years ago

reshadf commented 7 years ago

Bug description / Feature request:

I have the following setup

var rule = rrulestr(response['recursOn']);
vm.events.push({
         title: response['title'],
         rrule: rule
});

It prints out everything correctly in Console, however, the calendar is giving the following message:

"Event is missing the startsAt field" {title: "Gym", rrule: RRule ...}

This results in the event showing up only once on just the current DateTime.

Is it somehow not recognizing RRule ?

Versions

Angular: 1.6.4

Calendar library: 0.29.3

Browser name and version: Safari 10.1.1 (12603.2.4)

mattlewis92 commented 7 years ago

You have to use the rrule lib for generating the events yourself in a format the calendar expects: https://mattlewis92.github.io/angular-bootstrap-calendar/#!?example=recurring-events