react-native-event-calendar icon indicating copy to clipboard operation
react-native-event-calendar copied to clipboard

multi day event

Open apppro123 opened this issue 6 years ago • 3 comments

Hi Is it possible to set an event over multiple days? Thank you for any response!

apppro123 avatar Aug 12 '18 20:08 apppro123

Not possible yet, but won’t be that hard to implement. I’ll look into doing it soon, if nobody else gets around to it.

joshjhargreaves avatar Aug 12 '18 20:08 joshjhargreaves

@apppro123, @joshjhargreaves what do you think? we can just cut events for days by saving the id event. {id: 1, start: '2018-11-01 01:30:00', end: '2018-11-02 02:20:00', title: 'Dr. Mariana Joseph'} break into two events: {id: 1, start: '2018-11-01 01:30:00', end: '2018-11-01 23:59:59', title: 'Dr. Mariana Joseph'} {id: 1, start: '2018-11-02 00:00:01', end: '2018-11-02 02:20:00', title: 'Dr. Mariana Joseph'} and all the rest of the logic for Packer can be reused.

sprotymo avatar Nov 02 '18 17:11 sprotymo

Yes i have done it the same way.

apppro123 avatar Nov 11 '18 12:11 apppro123