chore(node): compact duration formatting in stage progress logs (#18720)

This commit is contained in:
MIHAO PARK
2025-11-03 20:47:35 +01:00
committed by GitHub
parent 24fa984da4
commit 66957c7902

View File

@@ -596,6 +596,8 @@ impl Display for Eta {
f,
"{}",
humantime::format_duration(Duration::from_secs(remaining.as_secs()))
.to_string()
.replace(' ', "")
)
}
}
@@ -621,6 +623,6 @@ mod tests {
}
.to_string();
assert_eq!(eta, "13m 37s");
assert_eq!(eta, "13m37s");
}
}