Skip to content

Commit

Permalink
Fixing the time till thing
Browse files Browse the repository at this point in the history
  • Loading branch information
czozi authored Nov 25, 2024
1 parent 75ca23f commit 46a11bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ function update() {
// Calculate the time left until the end of the current class period
let timetill = "Class not in session";
if (currentPeriodEndTime !== null) {
const remainingTime = timeUntilEnd(currentTimeInMinutes, currentPeriodEndTime);
const remainingTime = timeUntilEnd(currentTimeInMinutes * 60, currentPeriodEndTime);
timetill = `Time until end of class: ${remainingTime}`;
}

Expand Down

0 comments on commit 46a11bf

Please sign in to comment.