MCPcopy Index your code
hub / github.com/anomalyco/models.dev / dateFromTimestamp

Function dateFromTimestamp

packages/core/src/sync/providers/vercel.ts:178–180  ·  view source on GitHub ↗
(timestamp: number)

Source from the content-addressed store, hash-verified

176}
177
178function dateFromTimestamp(timestamp: number) {
179 return new Date(timestamp * 1000).toISOString().slice(0, 10);
180}
181
182function price(value: string | undefined) {
183 if (value === undefined) return undefined;

Callers 1

buildVercelModelFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected