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

Function lastSeenTitle

packages/react/src/lib/admin-users-display.ts:58–61  ·  view source on GitHub ↗
(lastSeenAt: number | null)

Source from the content-addressed store, hash-verified

56 * the coarseness caveat, so an operator reading "Within the hour" can see what
57 * the row actually stores. */
58export const lastSeenTitle = (lastSeenAt: number | null): string =>
59 lastSeenAt === null
60 ? "Never seen on a request"
61 : `Recorded ${new Date(lastSeenAt).toLocaleString()} — updated at most once an hour`;
62
63/** Absolute date, for the created column. */
64export const formatAdminDate = (epochMs: number): string =>

Callers 2

AdminUsersPageFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected