Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/github/docs
/ formatSeconds
Function
formatSeconds
script/search/sync.js:90–92 ·
view source on GitHub ↗
(seconds)
Source
from the content-addressed store, hash-verified
88
}
89
90
function
formatSeconds(seconds) {
91
return
new
Date(seconds * 1000).toISOString().substr(11, 8)
92
}
Callers
1
syncSearchIndexes
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected