-
Notifications
You must be signed in to change notification settings - Fork 92
fix: sat display #1380
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
base: main
Are you sure you want to change the base?
fix: sat display #1380
Conversation
KevinWu098
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks like it does work for regular weeks, but on finals weeks, the week begins on Saturday. You can see this on the schedule, Fall 2025 exams are Dec 6–12 (Dec 6 is a Saturday).
In updating the start of the week, we have regressed in this area. Although it's outside the scope of the original issue, we should A. fix this and B. cannot proceed with this PR as it breaks finals functionality (which is more critical than the occasional Saturday class)
Production:
We may be able to dynamically update the start of the week based on if we're in finals viewing mode.
|
/deploy |
|
sorry i forgot to push my changes but I created a separate locale (en-us-finals) that starts the week on Saturday, stored separately from the regular en-us locale. So it now should detects when finals start on Saturday and dynamically switches to this Saturday-start locale only during finals viewing mode. |
|
/deploy |
KevinWu098
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Really great work! Some minor questions regarding logic/fixed.
Additionally, I'd suggest that, when writing a PR, you include screenshots of the new behavior working (or a short video). Also, for your test plan, including courses which trigger certain cases (e.g. saturday classes, saturday final) etc would be helpful for your reviewer!
Some examples of what I used:
- Drama 198 (Fall 2025) — Saturday and Sunday classes
- Math 2B (Fall 2025) — Saturday finals
apps/antalmanac/src/components/Calendar/Toolbar/CustomEventDialog/CustomEventDialog.tsx
Show resolved
Hide resolved
|
Is this ready for review? |
KevinWu098
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few nits. Also, make sure to update your PR description with a demo of changes (before/after), as well as update your test plan with example courses
| return momentLocalizer(moment); | ||
| }, [culture]); | ||
|
|
||
| const calendarView = showFinalsSchedule |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
issue: this seems overly complex. can we simplify the ternary?

Summary
Fixed the calendar week layout so Saturday appears after Friday instead of before Sunday. Changed the week start day from Saturday (
dow: 6) to Sunday (dow: 0).Before: Sa | Su | M | Tu | W | Th | F
After: Su | M | Tu | W | Th | F | Sa
Test Plan
Issues
Saturday was displayed for the intial week.
Closes #1358