Comments (5)
Having this same issue -- Android only. Multi-day events show up fine, weirdly. But single all-day events are showing up as a day later.
from calendar-phonegap-plugin.
+1 Seeing this problem... Any workarounds/fixes for this?
from calendar-phonegap-plugin.
Hmm, tried this again and it worked fine on my KitKat device. Perhaps we're passing different things to the plugin? This is what I do to make an all day event for today, so you can compare:
var startDate = new Date();
var endDate = new Date();
endDate.setDate(endDate.getDate()+1);
// make sure you set these to 0 !
startDate.setHours(0);
endDate.setHours(0);
startDate.setMinutes(0);
endDate.setMinutes(0);
startDate.setSeconds(0);
endDate.setSeconds(0);
window.plugins.calendar.createEvent('test', 'loc', 'note', startDate, endDate, onSuccess, onError);
from calendar-phonegap-plugin.
@EddyVerbruggen Hey, thanks for looking at this..
Sadly I'm still seeing this issue in our app.
Our test device is running Android 5.0.0. Could it be related?
Also, perhaps it's to do with the date we're specifying, we're trying to add 2015-01-01 as an all day event.
Thanks
from calendar-phonegap-plugin.
What happens if you try my code sample?
from calendar-phonegap-plugin.
Related Issues (20)
- Can I observe new events in calendar from promise?
- ACCOUNTNAME on Android devices
- Disabling days not belongs to a given month
- Add People by E-mail Functionality
- Cannot create event. as calendar is readonly. HOT 2
- Plugin classifies event as birthday, not just regular event
- IOS creating multiple events issue HOT 2
- On iOS several code paths lead to neither the error- or the success callback being invoked
- On iOS modifyEventWithOptions mixes up arguments
- Android: All day events not marked as all day events
- created event by CreateEvent is missing HOT 1
- Monthly recurring event
- Crash IOS 15.1 when creating event HOT 11
- IOS adding same appointment twice HOT 3
- Error called createEventInteractively HOT 5
- how to use moment with createEventWithOptions()
- Detect google and icloud calendars
- `API MISUSE: nil event store in initialization of EKCalendar instance` for createEventInteractivelyWithOptions HOT 9
- XCode 15 [email protected] : Calendars list returns nothing HOT 8
- Q: Maintenance status HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from calendar-phonegap-plugin.