Skip to content

Commit

Permalink
Merge pull request #249 from jadebuckwalter/clock-updates
Browse files Browse the repository at this point in the history
Clock updates
  • Loading branch information
jadebuckwalter authored Jan 27, 2021
2 parents 3e4ad5e + 4ad2013 commit 5c8ee99
Showing 1 changed file with 3 additions and 1 deletion.
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

0 comments on commit 5c8ee99

Please sign in to comment.