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

Function daysLabel

packages/shared/src/features/boost/common.ts:26–27  ·  view source on GitHub ↗
(days: number)

Source from the content-addressed store, hash-verified

24}
25
26export const daysLabel = (days: number): string =>
27 `${days} ${days === 1 ? 'day' : 'days'}`;
28
29const oneDay = 24 * 60 * 60 * 1000;
30

Callers 1

BoostPostModalFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected