Skip to content
1 min read · 36 words

Variable: durationFormatTool

ts
const durationFormatTool: Tool<SpooledArtifact>;

Convert total seconds into a human-readable duration string.

Remarks

Examples: 37251 hour, 2 minutes and 5 seconds. Negative inputs are prefixed with -. Zero seconds returns the literal 0 seconds.