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

Function formatMonthYearOnly

packages/shared/src/lib/dateFormat.ts:382–386  ·  view source on GitHub ↗
(date: Date)

Source from the content-addressed store, hash-verified

380};
381
382export const formatMonthYearOnly = (date: Date): string =>
383 new Date(date).toLocaleString('en-us', {
384 month: 'short',
385 year: 'numeric',
386 });
387
388export const formatDateRange = (
389 startDate: Date | number | string | null | undefined,

Callers 3

UserEngagementSectionsFunction · 0.90
UserStackItemBodyFunction · 0.90
SquadMetaLineFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected