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
This commit is contained in:
David Moreau Simard 2019-07-04 14:20:27 -04:00
parent 75acba49f5
commit 5357f8bc32
No known key found for this signature in database
GPG Key ID: CBEB466764A9E621
1 changed files with 3 additions and 3 deletions

View File

@ -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>
))}