MCPcopy Create free account
hub / github.com/heygen-com/hyperframes / formatDateRange

Function formatDateRange

scripts/changelog-weekly.ts:499–501  ·  view source on GitHub ↗
(from: string, to: string)

Source from the content-addressed store, hash-verified

497}
498
499function formatDateRange(from: string, to: string) {
500 return `${formatDate(from)} - ${formatDate(to)}`;
501}
502
503function formatDate(date: string) {
504 const { year, month, day } = dateParts(date);

Callers 1

createWeeklyDraftFunction · 0.85

Calls 1

formatDateFunction · 0.85

Tested by

no test coverage detected