MCPcopy Create free account
hub / github.com/alan2207/bulletproof-react / formatDate

Function formatDate

apps/react-vite/src/utils/format.ts:3–4  ·  view source on GitHub ↗
(date: number)

Source from the content-addressed store, hash-verified

1import { default as dayjs } from 'dayjs';
2
3export const formatDate = (date: number) =>
4 dayjs(date).format('MMMM D, YYYY h:mm A');

Callers 5

CellFunction · 0.90
DiscussionViewFunction · 0.90
CellFunction · 0.90
CommentsListFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected