Skip to content
This repository has been archived by the owner. 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

Projects
None yet
3 participants
@cintucsabu
Copy link

cintucsabu commented Dec 7, 2016

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

This comment has been minimized.

Copy link
Owner

mattlewis92 commented Dec 7, 2016

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

This comment has been minimized.

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

This comment has been minimized.

Copy link
Owner

mattlewis92 commented Dec 8, 2016

@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

This comment has been minimized.

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

This comment has been minimized.

Copy link
Author

cintucsabu commented Dec 9, 2016

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

This comment has been minimized.

Copy link
Owner

mattlewis92 commented Dec 13, 2016

Should be fixed in 0.27.2, thanks for reporting! 😃

@cintucsabu

This comment has been minimized.

Copy link
Author

cintucsabu commented Dec 14, 2016

Thanks @mattlewis92 for the fast response...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
You can’t perform that action at this time.