nusmodifications / nusmodifications/nusmods
Make all date and time use local timezone
Open
Nobody has claimed this yet.
bug
timetable
- Dominant language
- JavaScript
- Stars
- 689
- Forks
- 364
- Avg merge
- 7h 5m
- Merged PRs (30d)
- 14
Description
Problem Description
Due to COVID-19, many students are currently stranded overseas. NUSMods have some issues with timezones. For example:
- The time shown above the timetable is hard-coded in SGT.
- But the marker that runs on the timetable is showing current time takes local time.
- Also the time till next class shows time in only SGT.
It is very inconvenient to always convert the time to local time in our mind.
Describe the solution you'd like
Make all times shown in the website use local time / have a settings for choosing timezone.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the timetable's displayed time, current-time marker, and time-until-next-class behavior. Check how each currently handles timezone, then define done as all three using local time or a clearly specified timezone setting.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react, typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100