Skip to content
This repository has been archived by the owner on Nov 8, 2022. It is now read-only.

Commit

Permalink
fix(model): remove extraneous logging
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin Reed committed Sep 10, 2020
1 parent ff4678d commit 17e387b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/model/sim.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export class Sim extends Entry {

public isPreseason(now = Date.now()) {
const nextSeason = new Date(this.data.nextSeasonStart).getTime();
console.debug(`nextSeason=${nextSeason}, now=${now}`);
// console.debug(`nextSeason=${nextSeason}, now=${now}`);
if (this.data.day === 0 && nextSeason > now) {
return true;
}
Expand Down Expand Up @@ -121,4 +121,4 @@ export class Sim extends Entry {
public get nextElectionEnd(): Date | undefined {
return this.data.nextElectionEnd ? new Date(this.data.nextElectionEnd) : undefined;
}
}
}

0 comments on commit 17e387b

Please sign in to comment.