MCPcopy Create free account
hub / github.com/thetarnav/solid-devtools / formatTime

Function formatTime

packages/shared/src/utils.ts:69–77  ·  view source on GitHub ↗
(d: Date = new Date())

Source from the content-addressed store, hash-verified

67}
68
69export function formatTime(d: Date = new Date()): string {
70 return (
71 ('0' + d.getHours()).slice(-2) +
72 ':' +
73 ('0' + d.getMinutes()).slice(-2) +
74 ':' +
75 ('0' + d.getSeconds()).slice(-2)
76 )
77}
78
79export function interceptPropertySet<TObject extends object, TKey extends keyof TObject>(
80 obj: TObject,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…