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

172 implement export event as ics file functionality #193

Merged
merged 5 commits into from
May 7, 2024

Conversation

Jaslavie
Copy link
Contributor

@Jaslavie Jaslavie commented May 3, 2024

Purpose

Allow Volunteers to add an event to their calendar by downloading an ics file unique to each event.

What was changed?

[ ✓ ] Added function on the front-end with the i-cal generator library based on #172
[ ✓ ] attached a download link triggered by calendar button
[ ✓ ] re-formatted the start and end times form 'eventData'

Notes
→ not sure how the times were formatted in eventData, so did not adjust to time zones

@Jaslavie Jaslavie linked an issue May 3, 2024 that may be closed by this pull request
Copy link
Collaborator

@Aokijiop Aokijiop left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice job with the calendar util! For your time zone question, if you don't specify a time zone (Such as in the code), Google calendar will use the default time zone for the user. For our use case, this is alright since Stand Up to Trash operates in California so we don't need to account for international users.

@Aokijiop Aokijiop merged commit e3db621 into main May 7, 2024
1 of 2 checks passed
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.

Implement Export Event as ICS File Functionality
2 participants