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

Build the calendar fields ourselves #9

Merged
merged 3 commits into from
Dec 23, 2016
Merged

Build the calendar fields ourselves #9

merged 3 commits into from
Dec 23, 2016

Conversation

kokarn
Copy link
Collaborator

@kokarn kokarn commented Dec 23, 2016

This PR makes us build the whole calendar ourselves instead of just copying from source.

It changes the name depending on teams, so if only one team is selected it uses that name.
This closes #8

The output ics file is valid according to these validators
http://severinghaus.org/projects/icv/
https://icalendar.org/validator.html

Example output
hockey-mchockeyface.zip

@theseal
Copy link
Owner

theseal commented Dec 23, 2016

Looks good. Just two things… 🙃

  • I'm not sure about the default calendarName. Isn't "SHL matcher" really a single word? Is "SHL-matcher" better, or maybe just "SHL"?

  • calendarDesc seems to include a typo.

@kokarn
Copy link
Collaborator Author

kokarn commented Dec 23, 2016

Both fixed :)

@theseal
Copy link
Owner

theseal commented Dec 23, 2016

Great! Merge it is.

@theseal theseal merged commit 77a633b into master Dec 23, 2016
@theseal theseal deleted the calendar-names branch December 23, 2016 19:01
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.

Set name of calendar
2 participants