Skip to content

Fix/hide classes holidays#54

Open
joshL1215 wants to merge 6 commits intomainfrom
fix/hide-classes-holidays
Open

Fix/hide classes holidays#54
joshL1215 wants to merge 6 commits intomainfrom
fix/hide-classes-holidays

Conversation

@joshL1215
Copy link
Contributor

@joshL1215 joshL1215 commented Feb 24, 2026

Added new feature:

  • Stores the holidays that UCSB observes in memory
  • When frontpage is opened, checks the current day to see if it is a holiday
  • If today is a holiday, the frontpage daily course section displays what holiday it is and that there is no class that day, even if users' schedule does have courses listed on that day

Can be tested by setting the client's date to each holiday to check for desired behavior. I did this already but I had to set the date inside of the source code itself since the current date is compared against the holidays before you are able to run a console command in your browser.

Resolves #40

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.

(FEATURE) Hide classes during holidays

2 participants