MCPcopy Create free account
hub / github.com/microsoft/AI-Engineering-Coach / formatTime

Function formatTime

src/webview/shared.ts:306–309  ·  view source on GitHub ↗
(ts: number | null)

Source from the content-addressed store, hash-verified

304}
305
306export function formatTime(ts: number | null): string {
307 if (!ts) return '—';
308 return new Date(ts).toLocaleTimeString('en-US', { hour: '2-digit', minute: '2-digit' });
309}
310
311/* ---- HTML builder helpers ---- */
312export function statCard(label: string, value: string, accent: string): string {

Callers 2

renderLanesFunction · 0.90
showSessionDetailFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected