MCPcopy Index your code
hub / github.com/codeaashu/claude-code / timestamp

Function timestamp

src/bridge/bridgeStatusUtil.ts:23–29  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

21export const SHIMMER_INTERVAL_MS = 150
22
23export function timestamp(): string {
24 const now = new Date()
25 const h = String(now.getHours()).padStart(2, '0')
26 const m = String(now.getMinutes()).padStart(2, '0')
27 const s = String(now.getSeconds()).padStart(2, '0')
28 return `${h}:${m}:${s}`
29}
30
31export { formatDuration, truncateToWidth as truncatePrompt }
32

Callers 7

logSessionStartFunction · 0.85
logSessionCompleteFunction · 0.85
logSessionFailedFunction · 0.85
logStatusFunction · 0.85
logVerboseFunction · 0.85
logErrorFunction · 0.85
logReconnectedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected