mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
feat(client): add locale date to attempt (#64766)
This commit is contained in:
@@ -93,7 +93,7 @@ export function Attempts({ examChallengeId }: AttemptsProps) {
|
||||
<tbody>
|
||||
{attempts.map(attempt => (
|
||||
<tr key={attempt.startTime}>
|
||||
<td>{new Date(attempt.startTime).toTimeString()}</td>
|
||||
<td>{new Date(attempt.startTime).toLocaleString()}</td>
|
||||
<td>{renderScore(attempt)}</td>
|
||||
<td>{renderStatus(attempt)}</td>
|
||||
</tr>
|
||||
|
||||
Reference in New Issue
Block a user