Skip to content

Commit

Permalink
Flooring number down to whole second (#38065) (#38828)
Browse files Browse the repository at this point in the history
  • Loading branch information
igoristic committed Jun 12, 2019
1 parent 6ca6b1a commit 2bb6996
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -45,7 +45,7 @@ export const parseProps = props => {
relocationType: type === 'PRIMARY_RELOCATION' ? 'Primary Relocation' : normalizeString(type),
stage: normalizeString(stage),
startTime: formatDateTimeLocal(startTimeInMillis),
totalTime: formatMetric(totalTimeInMillis / 1000, '00:00:00'),
totalTime: formatMetric(Math.floor(totalTimeInMillis / 1000), '00:00:00'),
isCopiedFromPrimary: !isPrimary || type === 'PRIMARY_RELOCATION',
sourceName: source.name === undefined ? 'n/a' : source.name,
targetName: target.name,
Expand Down

0 comments on commit 2bb6996

Please sign in to comment.