Skip to content

Commit 0a62067

Browse files
feat(client): add locale date to attempt (freeCodeCamp#64766)
1 parent 35c126e commit 0a62067

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/src/templates/Challenges/exam-download/attempts.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ export function Attempts({ examChallengeId }: AttemptsProps) {
9393
<tbody>
9494
{attempts.map(attempt => (
9595
<tr key={attempt.startTime}>
96-
<td>{new Date(attempt.startTime).toTimeString()}</td>
96+
<td>{new Date(attempt.startTime).toLocaleString()}</td>
9797
<td>{renderScore(attempt)}</td>
9898
<td>{renderStatus(attempt)}</td>
9999
</tr>

0 commit comments

Comments
 (0)