We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 58aed3e commit ba083b3Copy full SHA for ba083b3
atcoder-problems-frontend/src/pages/ListPage/ListTable.tsx
@@ -140,9 +140,10 @@ export const ListTable: React.FC<Props> = (props) => {
140
.map(
141
(p: MergedProblem): ProblemRowData => {
142
const contest = contestMap?.get(p.contest_id);
143
- const contestDate = contest
144
- ? formatMomentDate(parseSecond(contest.start_epoch_second))
145
- : "";
+ const contestDate =
+ contest && contest.start_epoch_second > 0
+ ? formatMomentDate(parseSecond(contest.start_epoch_second))
146
+ : "";
147
const contestTitle = contest ? contest.title : "";
148
149
const status = statusLabelMap.get(p.id) ?? noneStatus();
0 commit comments