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

Function formatMonthYearOnly

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

Source from the content-addressed store, hash-verified

350};
351
352export const formatMonthYearOnly = (date: Date): string =>
353 new Date(date).toLocaleString('en-us', {
354 month: 'short',
355 year: 'numeric',
356 });
357
358export const formatDateRange = (
359 startDate: Date | number | string | null | undefined,

Callers 3

SquadPageHeaderFunction · 0.90
UserEngagementSectionsFunction · 0.90
UserStackItemBodyFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected