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

Commit 5357f8b

Browse files
author
David Moreau Simard
committed
Format started/ended and duration timestamps for results
Use a format like this: Fri, 31 May 2019 14:47:29 GMT" Instead of: 2019-05-31T14:47:29.927431Z Change-Id: Ib55ea89f6d91d429c4ceb8fa9d0df1e24b404c72
1 parent 75acba4 commit 5357f8b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/tasks/TaskRow.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,16 +113,16 @@ export default class TaskRow extends Component {
113113
data-label="Started"
114114
className="pf-u-text-align-center"
115115
>
116-
{result.started}
116+
{new Date(result.started).toUTCString()}
117117
</td>
118118
<td data-label="Ended" className="pf-u-text-align-center">
119-
{result.ended}
119+
{new Date(result.ended).toUTCString()}
120120
</td>
121121
<td
122122
data-label="Duration"
123123
className="pf-u-text-align-center"
124124
>
125-
{result.duration}
125+
{result.duration} sec
126126
</td>
127127
</tr>
128128
))}

0 commit comments

Comments
 (0)