MCPcopy Create free account
hub / github.com/TanStack/devtools / formatTime

Function formatTime

examples/react/start/src/devtools/RouteNavigationPanel.tsx:33–41  ·  view source on GitHub ↗
(timestamp: number)

Source from the content-addressed store, hash-verified

31 }, [])
32
33 const formatTime = (timestamp: number) => {
34 return new Date(timestamp).toLocaleTimeString('en-US', {
35 hour12: false,
36 hour: '2-digit',
37 minute: '2-digit',
38 second: '2-digit',
39 fractionalSecondDigits: 3,
40 })
41 }
42
43 return (
44 <div

Callers 1

RouteNavigationPanelFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected