carlsednaoui / add-to-calendar-buttons

Easily add a "add to calendar" button to your websites. This JavaScript library supports Google Calendar, iCal, Outlook and Yahoo Calendar.
476 stars 171 forks source link

Add Day Events #8

Open elchotcho opened 9 years ago

elchotcho commented 9 years ago

This project is really great! I just wish it had an all day event feature.

msquitieri commented 8 years ago

+1

Is there any documentation for these URL parameters for Google and Yahoo? It seems like there isn't any official documentation from them.

troycroz commented 8 years ago

I've found this, which shows that you can generate an all day event to google by specifying the date param like this: &dates=20150120/20150520 rather than: &dates=20150120T170000Z/20150520T220000Z

Example: https://www.google.com/calendar/render?action=TEMPLATE &dates=20150120/20150520 &location=Something&text=Title&details=whatever

msquitieri commented 8 years ago

Nice! I'm trying to find some more yahoo documentation. This blog (https://richmarr.wordpress.com/tag/calendar/) says that this will create an all day event:

http://calendar.yahoo.com/?v=60&TITLE=event&DESC=Joe+turns+40+just+this+once&ST=20151212&in_loc=Gillette+Stadium

It doesn't seem to be working for me.

Adding All Day events to ICS files seems to be easy, however: http://www.soldesignco.com/blog/2009/05/23/how-to-make-all-day-events-in-outlook-using-icalendar-format/

If someone else can help find a way to do yahoo then we can easily add this.

sonamkukkar commented 7 years ago

@msquitieri I am also facing the same issue. Have you got the solution for all day event in Yahoo Calendar?