Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/npkgz/cli-progress
/ format-time.js
File
format-time.js
lib/format-time.js:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
// default time format
2
3
// format a number of seconds into hours and minutes as appropriate
4
module.exports =
function
formatTime(t, options, roundToMultipleOf){
Callers
nothing calls this directly
Calls
2
round
Function · 0.85
autopadding
Function · 0.70
Tested by
no test coverage detected