Skip to content

Commit

Permalink
show livestream if UTC hour < 17
Browse files Browse the repository at this point in the history
  • Loading branch information
HappyStoic committed Oct 31, 2024
1 parent 7a4b418 commit d93042a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dashboard/client/src/ClassDetail.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
const currentTimeUTC = now.getUTCHours()
const isThursday = currentDay === 4;
const isWithinTimeRange = currentTimeUTC >= 12 && currentTimeUTC < 16;
const isWithinTimeRange = currentTimeUTC >= 12 && currentTimeUTC < 17;
return isThursday && isWithinTimeRange;
}
Expand Down

0 comments on commit d93042a

Please sign in to comment.