MCPcopy Create free account
hub / github.com/dailydotdev/apps / getPlusMemberDateFormat

Function getPlusMemberDateFormat

packages/shared/src/lib/dateFormat.ts:241–247  ·  view source on GitHub ↗
(date: string | Date)

Source from the content-addressed store, hash-verified

239};
240
241export const getPlusMemberDateFormat = (date: string | Date): string => {
242 return new Date(date).toLocaleString('en-US', {
243 month: 'short',
244 day: 'numeric',
245 year: 'numeric',
246 });
247};
248
249export const getLastActivityDateFormat = (
250 value: Date | number | string,

Callers 4

SquadPlanSwitchFunction · 0.90
achievementDateLabelFunction · 0.90
formatDateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected