File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -98,9 +98,9 @@ export function jobMessageOutputs (jobNode) {
9898 * 00:00:00, rather than undefined
9999 * @return {string= } Formatted duration
100100 */
101- export function formatDuration ( value , allowZeros = false , timingOption = false ) {
101+ export function formatDuration ( value , allowZeros = false , timingOption = true ) {
102102 // Times are formatted as HH:MM:SS
103- if ( timingOption === 'queue' || timingOption === 'total' || timingOption === 'run' || timingOption === 'cpuTime' ) {
103+ if ( timingOption === 'queue' || timingOption === 'total' || timingOption === 'run' || timingOption === 'cpuTime' || timingOption === true ) {
104104 if ( value || ( value === 0 && allowZeros === true ) ) {
105105 // Convert CPU time to seconds
106106 if ( timingOption === 'cpuTime' ) {
You can’t perform that action at this time.
0 commit comments