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

Function getPlusMemberDateFormat

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

Source from the content-addressed store, hash-verified

213};
214
215export const getPlusMemberDateFormat = (date: string | Date): string => {
216 return new Date(date).toLocaleString('en-US', {
217 month: 'short',
218 day: 'numeric',
219 year: 'numeric',
220 });
221};
222
223export const getLastActivityDateFormat = (
224 value: Date | number | string,

Callers 1

formatDateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected