(lastSeenAt: number | null)
| 56 | * the coarseness caveat, so an operator reading "Within the hour" can see what |
| 57 | * the row actually stores. */ |
| 58 | export 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. */ |
| 64 | export const formatAdminDate = (epochMs: number): string => |
no outgoing calls
no test coverage detected