Skip to content

Commit

Permalink
fix: timestamp unit for cf exporter
Browse files Browse the repository at this point in the history
Signed-off-by: Dup4 <lyuzhi.pan@gmail.com>
  • Loading branch information
Dup4 committed Oct 31, 2023
1 parent b617b16 commit e678072
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/libs/core/src/export/cf.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export class CodeforcesGymGhostDATConverter {
const status = this.submissionStatusToCodeforcesGymDatStatus(submission.status);
submissionsIdMap.get(teamId)!.set(problemId, submissionsIdMap.get(teamId)!.get(problemId)! + 1);

res += `@s ${teamIdMap.get(teamId)},${problem.label},${submissionsIdMap.get(teamId)?.get(problemId)},${submission.timestamp},${status}\n`;
res += `@s ${teamIdMap.get(teamId)},${problem.label},${submissionsIdMap.get(teamId)?.get(problemId)},${submission.timestampToSecond},${status}\n`;
});

return res;
Expand Down

0 comments on commit e678072

Please sign in to comment.