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

Function getPlusMemberDateFormat

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

Source from the content-addressed store, hash-verified

228};
229
230export const getPlusMemberDateFormat = (date: string | Date): string => {
231 return new Date(date).toLocaleString('en-US', {
232 month: 'short',
233 day: 'numeric',
234 year: 'numeric',
235 });
236};
237
238export const getLastActivityDateFormat = (
239 value: Date | number | string,

Callers 1

formatDateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected