Skip to content
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

Clock updates #249

Merged
merged 4 commits into from
Jan 27, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion public/js/clock.js
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,9 @@ function redraw_clock() {
+ now.getSeconds() * 1000
+ now.getMilliseconds();
let pos;
if (![0, 6].includes(now.getDay())) {
// TODO 2021-01-27: this is a temporary fix until we support the semester 2
// schedule
if (false /*![0, 6].includes(now.getDay())*/) {
// School day
let current_period_i = 0;// Get current period from array
while (current_period_i < schedules[current_schedule].length - 1 &&
Expand Down