Skip to content

Commit

Permalink
Merge pull request #35 from decert-me/chore-submit_time
Browse files Browse the repository at this point in the history
chore: submit-timestamp
  • Loading branch information
0xdwong authored Aug 2, 2024
2 parents b3f84ee + c7e6f07 commit c7c33e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/views/Challenge/ChallengeJudgPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -165,8 +165,8 @@ function ChallengeJudgPage({questDetail, reviewStatus, hideModal, updateList}) {
<div className="item">
<div className="item-title">提交时间: &nbsp;
<span className="item-content">{
selectOpenQs?.updated_at && selectOpenQs?.updated_at.indexOf("0001-01-01T") === -1
? selectOpenQs?.updated_at.replace("T", " ").split(".")[0].split("+")[0]
selectOpenQs?.created_at && selectOpenQs?.created_at.indexOf("0001-01-01T") === -1
? selectOpenQs?.created_at.replace("T", " ").split(".")[0].split("+")[0]
: "-"}</span>
</div>
</div>
Expand Down

0 comments on commit c7c33e1

Please sign in to comment.