MCPcopy Create free account
hub / github.com/Roy3838/Observer / formatTimestamp

Function formatTimestamp

app/src/utils/exportUtils.ts:88–90  ·  view source on GitHub ↗
(timestamp: string)

Source from the content-addressed store, hash-verified

86// Export as HTML
87export const exportAsHTML = (data: ExportData, options: ExportOptions): string => {
88 const formatTimestamp = (timestamp: string) => {
89 return new Date(timestamp).toLocaleString();
90 };
91
92 const renderSensorHTML = (sensor: SensorData): string => {
93 const content = formatSensorContent(sensor, options.includeImages);

Callers 8

renderSensorHTMLFunction · 0.70
renderToolHTMLFunction · 0.70
renderIterationHTMLFunction · 0.70
exportAsHTMLFunction · 0.70
renderSensorMarkdownFunction · 0.70
renderToolMarkdownFunction · 0.70
renderIterationMarkdownFunction · 0.70
exportAsMarkdownFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected