MCPcopy Index your code
hub / github.com/TaskingAI/TaskingAI / formatTimestamp

Function formatTimestamp

frontend/src/utils/util.ts:52–56  ·  view source on GitHub ↗
(timestamp:number)

Source from the content-addressed store, hash-verified

50 };
51 }
52 const formatTimestamp = (timestamp:number) => {
53 const date = new Date(timestamp);
54 const options: Intl.DateTimeFormatOptions = { hour: '2-digit', minute: '2-digit', second: '2-digit', hour12: false,month: 'short', day: 'numeric', year: 'numeric' };
55 return new Intl.DateTimeFormat('en-US', options).format(date);
56 }
57 const formatTime = (timestamp: number) => {
58 const date = new Date(timestamp);
59

Callers 6

RecordPageFunction · 0.90
ChunkPageFunction · 0.90
PlaygroundFunction · 0.90
AssistantFunction · 0.90
fetchActionsListFunction · 0.90
CommonComponentsFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected