Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add 'All Day' option, and update Yahoo implementation #39

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ocouch
Copy link

@ocouch ocouch commented May 31, 2022

Added an 'All Day' option to enable creating all day events.

Also updated the Yahoo implementation now that there's an et parameter, and updated the example.html to match.

To create an All Day event, just add the option allDay: true, and set the end date appropriately (a one day event ends the day after it starts).

Yahoo now has an end time `et` parameter which allows it to be handled in a manner more consistent with ics and Google Calendar.

calculateEndTime() no longer calls formatTime - it only calculates the end time This was necessary to prevent functionality duplication in the yahoo implementation.

The example html file has also been updated.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant