Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
26
export
const
daysLabel = (days: number): string =>
27
`${days} ${days === 1 ?
'day'
:
'days'
}`;
28
29
const
oneDay = 24 * 60 * 60 * 1000;
30
Callers
1
BoostPostModal
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected