Modules in Special Term do not show up in Today page
Describe the bug
After adding modules to my Special Term timetable, they do not show up in the Today page.
To Reproduce
Steps to reproduce the behavior:
- Add some modules with timeslots to your Special Term timetable (I'm using this one https://nusmods.com/courses/GES1002T/global-economic-dimensions-of-singapore)
- Visit https://nusmods.com/today?date=2025-06-06 with the date query parameter to simulate the date of NUSMods
- Module does not appear in the today page
Expected behavior
The module appears on the today page, just like how regular semester modules do.
Screenshots
Desktop (please complete the following information):
- OS: macOS
- Browser: Arc
- Version 1.61.2
Additional context
Seems tangential to #3757.
https://github.com/nusmodifications/nusmods/blob/6588b48768449247e7d6a6c98e25755136c32f1d/website/src/utils/timetables.ts#L362-L364
This should be isEqual(current, startOfDay(date))
https://github.com/nusmodifications/nusmods/blob/6588b48768449247e7d6a6c98e25755136c32f1d/website/src/utils/timetables.ts#L362-L364
This should be
isEqual(current, startOfDay(date))
fixed in https://github.com/nusmodifications/nusmods/pull/3814/commits/a43106ac9fd1c17f4de4a571ee57b1b5238df322
Fixed in #3814