Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
1-rambo committed Mar 6, 2024
1 parent 9469bb3 commit c230a62
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ const allContests: ContestsGroup = [];
const contests = await getContests();
for (const c of contests) {
// 练习
// if (c.beginDate === null || c.endDate === null) continue;
if (c.beginDate === null || c.endDate === null) continue;
// 尚未截止
// if (+c.endDate > +TODAY) continue;
if (+c.endDate > +TODAY) continue;
// 过期
// if (+c.beginDate < +new Date(CURRENT_SEMESTER, 0, 1)) continue;
if (+c.beginDate < +new Date(CURRENT_SEMESTER, 0, 1)) continue;

const problems = await getProblemsOfContest(c.id);
const briefInfos: BriefProblemInfo[] = [];
Expand Down

0 comments on commit c230a62

Please sign in to comment.