MCPcopy
hub / github.com/xintaofei/codeg / parseDate

Function parseDate

src/components/layout/push-workspace.tsx:271–274  ·  view source on GitHub ↗
(dateStr: string)

Source from the content-addressed store, hash-verified

269}
270
271function parseDate(dateStr: string): Date | null {
272 const date = new Date(dateStr)
273 return Number.isNaN(date.getTime()) ? null : date
274}
275
276// --- Main component ---
277

Callers 1

PushWorkspaceFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected