InteractionDesignFoundation / add-event-to-calendar-docs

📅 Docs how to generate links to add events to online calendar services
https://interactiondesignfoundation.github.io/add-event-to-calendar-docs/
MIT License
428 stars 57 forks source link

Yahoo URL does not work #22

Closed nowackimvn closed 3 years ago

nowackimvn commented 3 years ago

Yahoo link does not work. Opens a blank calendar lightbox.

fras2560 commented 3 years ago

@nowackimvn were you able to resolve this issue?

I get the same behavior but it seems to be account dependent. I made a new yahoo account that works correctly but a co-worker made one that gets blank calendar.

The only difference I can think it the code worker is in Eastern Europe where as I am in North America. If anyone has more insight into this that would be appreciated.

thedeephakani commented 3 years ago

it's working a few days back, but now I am facing the same issue. able to open the calendar. But all field has wrong value. I try with a sample URL. but it's also not working.

https://calendar.yahoo.com/?v=60&title=Birthday&st=20211231T193000&dur=0130&desc=With%20clowns%20and%20stuff&in_loc=North%20Pole&inv_list=John+Doe+%3Cjohn@example.com%3E,Jane+Doe+%3Cjane@example.com%3E

Screenshot from 2021-03-16 13-19-25

mgvchs commented 3 years ago

I can confirm that it does not work anymore also with simple url (with required parameters only)

HiteshMali1711 commented 3 years ago

I managed to solve this issue. Looks like prams which we are passing are really case sensitive. I used TITLE,ST and ET all in caps and it worked for me image

alies-dev commented 3 years ago

@HiteshMali1711 Thanks a lot! I've updated yahoo doc: https://github.com/InteractionDesignFoundation/add-event-to-calendar-docs/commit/ff40cbb71ea7302dea6e67a2fc18eaa72c6c7722

Can you please also check other params?

dmalan commented 3 years ago

@HiteshMali1711, thanks for sharing! Though did you find that the UTC offset (Z) was preserved? I just tried, e.g.,

https://calendar.yahoo.com/?v=60&ST=20210330T200000Z&ET=20210330T210000Z&TITLE=test

which is intended to start at 2021-03-30 20:00:00 UTC (i.e., 2021-03-30 16:00:00 Eastern Time), which does populate Yahoo's UI with those times:

Screen Shot 2021-03-29 at 4 14 58 PM

But the event ends up in my calendar as 2021-03-30 20:00:00 Eastern Time, which is four hours off. Even though my own calendar is configured to use Eastern Time:

Screen Shot 2021-03-29 at 4 16 13 PM

If I export my calendar's .ics file, I see the incorrect times too:

BEGIN:VEVENT
SUMMARY:test
CLASS:PUBLIC
DTSTART;TZID=America/New_York:20210330T200000
DTEND;TZID=America/New_York:20210330T210000
...

I.e., even though the capitalized HTTP parameters help, it seems Yahoo still isn't handling the UTC offset (Z) correctly?