fix first championship the next day

This commit is contained in:
2023-12-02 23:06:12 +01:00
parent 9e82d9a6b4
commit dc3a19daca
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ export default class Championship {
if (time == null) {
remainingOffset += 1440
day = Day.tomorrow
time = Championship.firstTimeNextDay
time = Championship.firstTimeTomorrow
}
return new Championship({
+1 -1
View File
@@ -12,7 +12,7 @@ export default class Day {
static get tomorrow() {
let day = Day.today + 1
if (day > 6) day -= 6
if (day > 6) day -= 7
return day
}