Usage of Monday vs. M vs. Mon

Open
#299 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 8 days

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
javascript, python

Research direction

Start by comparing the day-name mappings in config.yaml, timeline.js, courseTimeline.py, and databaseInterface.py, especially getCourseTimelineSchedules, then inspect the ScheduleDays table values. Trace the front-page timeline data flow and confirm that all supported day forms map consistently and the graphs display again.

Written by the indexing model from the issue text.

Description

bug minor

Original report by Scott Heggen (Bitbucket: sheggen, GitHub: sheggen).


We have inconsistent usage of the days field, and our mapping is not complete everywhere. It is now causing issues on the front page of CAS, where the graphs aren't displaying.

Files affected:

  • config.yaml
  • timeline.js
  • courseTimeline.py
  • databaseInterface.py (function getCourseTimelineSchedules)

Database tables affected:

  • ScheduleDays
Dominant language
JavaScript
Stars
0
Forks
4
Avg merge
6d 6m
Merged PRs (30d)
5

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

  • No Dockerfile or Docker Compose file
  • Has a pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from BCStudentSoftwareDevTeam/cas

All issues in BCStudentSoftwareDevTeam/cas

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.