MCPcopy Create free account
hub / github.com/Openpanel-dev/openpanel / date.ts

File date.ts

apps/start/src/utils/date.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { differenceInDays, differenceInHours, isSameDay } from 'date-fns';
2import type { FormatStyleName } from 'javascript-time-ago';
3import TimeAgo from 'javascript-time-ago';
4import en from 'javascript-time-ago/locale/en';

Callers

nothing calls this directly

Calls 1

getLocaleFunction · 0.85

Tested by

no test coverage detected