MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / clockTime

Function clockTime

graph-ui/src/ui/refresh/refresh-feedback.tsx:57–60  ·  view source on GitHub ↗
(at: number)

Source from the content-addressed store, hash-verified

55const two = (value: number) => String(value).padStart(2, '0');
56/** The wall clock as the status names it: 13:45:12. */
57export function clockTime(at: number): string {
58 const date = new Date(at);
59 return `${two(date.getHours())}:${two(date.getMinutes())}:${two(date.getSeconds())}`;
60}
61
62export function refreshStatus(feedback: RefreshFeedback | undefined, done: (time: string) => string): string {
63 if (!feedback || feedback.phase === 'running') return '';

Callers 2

refreshStatusFunction · 0.85

Calls 1

twoFunction · 0.85

Tested by

no test coverage detected