question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

cannot set when recurring event ends

See original GitHub issue

RNCalendarEvents.saveEvent('title', { location: 'location', notes: 'notes', startDate: '2017-05-20T19:26:00.000Z', endDate: '2017-05-20T20:26:00.000Z', alarms: [{ date: -1 // or absolute date - iOS Only }], recurrence: 'daily' }) This will create a recurring event from 19:26 to 20:26 daily. And it goes on forever. In your RNCalendarEvent.m, you set the end date to be nil, if ([validFrequencyTypes containsObject:frequency]) { rule = [[EKRecurrenceRule alloc] initRecurrenceWithFrequency:[self frequencyMatchingName:frequency] interval:1 end:nil]; } which means the recurring event goes on forever. Can you update this part to allow user to set an end date.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
wmcmahancommented, Jun 12, 2017

@zalesky I push a new android-recurrence branch with WIP changes for creating and reading recurrence rules. Hopefully this can help until I can get the next release out.

0reactions
wmcmahancommented, Jun 24, 2017

These changes are now in 1.4.0.

Read more comments on GitHub >

github_iconTop Results From Across the Web

outlook recurring event no end date not working
I am using Outlook 2010 and everytime I create an event in the calendar that is recurring, regardless of time (week, month, year,...
Read more >
Changing the End Date on Recurring Appointments
Always set an end date on recurring appointments and meetings. I suggest always using the end of the calendar year. This way, all...
Read more >
Re end date, it does not work. I set an end date for repeating ...
In custom, I set up a repeating event with an end date (choosing date from mini pop up calendar), however the end date...
Read more >
Set up or delete a repeating event in Calendar on Mac
In Calendar on your Mac, set up a repeating event. Specify how often the event ... Click the End Repeat pop-up menu, then...
Read more >
How to set up repeating event in Google Calendar on last day ...
Every weekday; Custom (repeat every day, week, month, year) and certain day with options for end date rules.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found