Skip to content
This repository has been archived by the owner on Feb 7, 2023. It is now read-only.

Commit

Permalink
Format started/ended and duration timestamps for results
Browse files Browse the repository at this point in the history
Use a format like this:
    Fri, 31 May 2019 14:47:29 GMT"
Instead of:
    2019-05-31T14:47:29.927431Z

Change-Id: Ib55ea89f6d91d429c4ceb8fa9d0df1e24b404c72
  • Loading branch information
David Moreau Simard committed Jul 4, 2019
1 parent 75acba4 commit 5357f8b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/tasks/TaskRow.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,16 +113,16 @@ export default class TaskRow extends Component {
data-label="Started"
className="pf-u-text-align-center"
>
{result.started}
{new Date(result.started).toUTCString()}
</td>
<td data-label="Ended" className="pf-u-text-align-center">
{result.ended}
{new Date(result.ended).toUTCString()}
</td>
<td
data-label="Duration"
className="pf-u-text-align-center"
>
{result.duration}
{result.duration} sec
</td>
</tr>
))}
Expand Down

0 comments on commit 5357f8b

Please sign in to comment.