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

Yearly reccuring events not showing in month view of angular bootstrap calendar #504

Closed
cintucsabu opened this issue Dec 7, 2016 · 7 comments

Comments

@cintucsabu
Copy link

Bug description / Feature request:

Hi,
I want to show an event which recurs yearly in month view of calendar. for example i want to show my birthday(7 Dec 2016) on every year in month view of calendar. but as if now i am able to display the event only in year view and week view. Actually, the event will display in 7 Dec 2016 in month view of calendar. but not displaying in the next years month view. That means, 7 Dec 2017, 7 Dec 2018 ... and so on.
7 Dec 2017 BUG.docx

Plunker

http://plnkr.co/edit/yeJmGLuZ9oSbrP3Uzhiu

Versions

Angular: 1.5.8

Calendar library: 0.27.1

Browser name and version: google chrome 54.0.2840.99

@mattlewis92
Copy link
Owner

Ah it does look like recurring events got broken somewhere along the line. I'll fix it in the next release although I'd highly recommend using the rrule lib instead for generating recurring events - it's a far more stable and reliable way of creating them and gives you much more control.

@reshadf
Copy link

reshadf commented Dec 8, 2016

Do you have an example of how to use the rrule lib? And is it also suitable for weekly reccuring events? @mattlewis92 I have a roster I want to make and I want it to generate automatically for every week.

@mattlewis92
Copy link
Owner

@reshadf sure thing: https://mattlewis92.github.io/angular-bootstrap-calendar/#?example=recurring-events

The example includes how to do recurring weekly events, I'd also highly recommend doing the same for monthly and yearly recurring events.

@reshadf
Copy link

reshadf commented Dec 8, 2016

@mattlewis92 ah thanks! didn't see that one yet. I can't make it work with dynamically adding an event via the event editor as shown in the kitchen sink example. Do you have an example of that in the docs somewhere where I might have overlooked? Or perhaps you could point me in the right direction :)
Something like this would be amazing if it worked.

 <td>
   <select ng-model="event.rrule" class="form-control">
     <option value="RRule.DAILY">dagelijks</option>
     <option value="RRule.WEEKLY">week</option>
     <option value="RRule.MONTHLY">maand</option>
     <option value="RRule.YEARLY">jaar</option>
   </select
 </td>

@cintucsabu
Copy link
Author

Thank you @mattlewis92 . I am waiting for the next release. In the mean while I can use RRule library.

mattlewis92 pushed a commit that referenced this issue Dec 13, 2016
@mattlewis92
Copy link
Owner

Should be fixed in 0.27.2, thanks for reporting! 😃

@cintucsabu
Copy link
Author

Thanks @mattlewis92 for the fast response...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants