fetchAllEvents does not return multi-day events started before the start date
See original GitHub issueHi, I’m using this code as part of a rect-native app to display calendar events in a smart mirror - I’ve successfully retrieved the events, however I notice that it does not return any events that started before the “startDate” but are still ongoing.
Really simple code of course (I’ve hard-coded the dates for the example):
RNCalendarEvents.fetchAllEvents("2017-06-08T00:00:00.000Z", "2017-06-12T00:00:00.000Z")
It returns single day events (either allDay or start and finish within the same day), events that start on one of the days, but does return any events that started before the startDate, but finish either during this given period or beyond. I’ve tried setting the events to “allDay” or specific start finish times, but does not work.
Seems pretty basic functionality so I assumed I must be doing something wrong, any ideas, or is it a bug in the code?
Thanks.
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (3 by maintainers)
Top GitHub Comments
Hey @zalesky, hopefully soon. I just need to make time to get both iOS and Android recurrence rules at parity. The final structure will look something like:
Hi @alan-zetland, it sounds like you need to create recurring events in the this case. By doing so, the start date should query the recurring instance’s start date.
Ex: