MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / formatAdminDate

Function formatAdminDate

packages/react/src/lib/admin-users-display.ts:64–67  ·  view source on GitHub ↗
(epochMs: number)

Source from the content-addressed store, hash-verified

62
63/** Absolute date, for the created column. */
64export const formatAdminDate = (epochMs: number): string =>
65 new Intl.DateTimeFormat(undefined, { month: "short", day: "numeric", year: "numeric" }).format(
66 new Date(epochMs),
67 );
68
69// ── Identity ────────────────────────────────────────────────────────────────
70

Callers 1

AdminUsersPageFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected