Calendar-PhoneGap-Plugin icon indicating copy to clipboard operation
Calendar-PhoneGap-Plugin copied to clipboard

Android: All day events not marked as all day events

Open GitToTheHub opened this issue 3 years ago • 0 comments

When I'm following the documentation for all day events:

Creating an all day event:

// set the startdate to midnight and set the enddate to midnight the next day var startDate = new Date(2014,2,15,0,0,0,0,0); var endDate = new Date(2014,2,16,0,0,0,0,0);

and create events under Android, then the all-day-switch is not set:

Screenshot_1621546590_edit

Alternatively i found, that it is possible to set a allday flag, to set events explicitly as all day events, thanks to this issue: https://github.com/EddyVerbruggen/Calendar-PhoneGap-Plugin/issues/514 But I'm missing the documentation for that in this plugin. Could you extend your documentation with this flag or fix the automatic detection for all day events? I'm glad, that you already have a flag, which i can set, thank you for your work :)

GitToTheHub avatar May 20 '21 22:05 GitToTheHub