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

Update Schedule.php to exclude holidays from iCal schedules #345

Draft
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

natep-tech
Copy link

@natep-tech natep-tech commented Jan 11, 2024

Completes #344

This takes an array of DateTimes that should be excluded from the schedules, like University holidays (calendar link here), and adds it to the generated iCal files so that class events will not be created on those days off. Using the iCal spec EXDATE, we can skip those days and make sure we don't confuse students.

BLOCKERS:

It is up to you to source the array of DateTimes to exclude. I have named the placeholder variable $holidayTimes, but you must provide the list of dates before this can be merged and implemented.

@natep-tech natep-tech requested a review from a team as a code owner January 11, 2024 19:58
@natep-tech natep-tech marked this pull request as draft January 11, 2024 20:04
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