16086: Don't re-parse dates on process information card.
authorLucas Di Pentima <lucas@di-pentima.com.ar>
Mon, 27 Jan 2020 19:24:25 +0000 (16:24 -0300)
committerLucas Di Pentima <lucas@di-pentima.com.ar>
Mon, 27 Jan 2020 19:24:25 +0000 (16:24 -0300)
Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas@di-pentima.com.ar>

src/views/process-panel/process-information-card.tsx

index 8754768be1cd8d36b313dbd9efcb965f9d32ae39..be1b92a9982fcdc85545b7389e0a336abec386fd 100644 (file)
@@ -131,10 +131,10 @@ export const ProcessInformationCard = withStyles(styles, { withTheme: true })(
                     <Grid item xs={6}>
                         <DetailsAttribute classLabel={classes.label} classValue={classes.value}
                             label='From'
-                            value={process.container ? formatDate(startedAt) : 'N/A'} />
+                            value={startedAt} />
                         <DetailsAttribute classLabel={classes.label} classValue={classes.value}
                             label='To'
-                            value={process.container ? formatDate(finishedAt) : 'N/A'} />
+                            value={finishedAt} />
                         {process.containerRequest.properties.workflowUuid &&
                             <span onClick={() => openWorkflow(process.containerRequest.properties.workflowUuid)}>
                                 <DetailsAttribute classLabel={classes.label} classValue={classNames(classes.value, classes.link)}