EddyVerbruggen / Calendar-PhoneGap-Plugin

:date: Cordova plugin to Create, Change, Delete and Find Events in the native Calendar
774 stars 403 forks source link

Android: All day events not marked as all day events #550

Open GitToTheHub opened 3 years ago

GitToTheHub commented 3 years ago

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 :)