All day event handling is broken. At least, Google Calendar on Android doesn't import it correctly. That's true for the following usage, which is given as an example in the readme:
cal.addEvent('Demo Event', 'This is an all day event', 'Nome, AK', '8/7/2013', '8/7/2013');
All day event handling is broken. At least, Google Calendar on Android doesn't import it correctly. That's true for the following usage, which is given as an example in the readme:
The current result is:
According to this StackOverflow discussion, the correct result should be:
i.e. a
DATE
instead of aDATE-TIME
, and noDTEND
if that's a single day. That's what this pull request does.