Skip to content

Commit

Permalink
Show it already
Browse files Browse the repository at this point in the history
  • Loading branch information
frc4533-lincoln authored Oct 4, 2024
1 parent 2b8381a commit d83473e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,10 @@
eventDayStart.setMinutes(NORMAL_START.min);

document.getElementById('countdown').innerText = (days == 0)
? (curr_time > currDayEnd && curr_time < eventDayStart)
? 'Tomorrow'
: `${hours} hours, ${minutes} minutes, ${seconds} seconds`
//? (curr_time > currDayEnd && curr_time < eventDayStart)
// ? 'Tomorrow'
// : `${hours} hours, ${minutes} minutes, ${seconds} seconds`
? `${hours} hours, ${minutes} minutes, ${seconds} seconds`
: `${days} days, ${hours} hours, ${minutes} minutes, ${seconds} seconds`;

document.getElementById('encouragement').hidden = (curr_time > currDayEnd && curr_time < eventDayStart);
Expand Down

0 comments on commit d83473e

Please sign in to comment.