Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/iamkun/dayjs
/ duration.test.js
File
duration.test.js
test/plugin/duration.test.js:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
MockDate from
'mockdate'
2
import
dayjs from
'../../src'
3
import
duration from
'../../src/plugin/duration'
4
import
relativeTime from
'../../src/plugin/relativeTime'
Callers
nothing calls this directly
Calls
15
dayjs
Function · 0.85
set
Method · 0.65
toISOString
Method · 0.65
asMilliseconds
Method · 0.65
format
Method · 0.65
asDays
Method · 0.65
asWeeks
Method · 0.65
asMonths
Method · 0.65
humanize
Method · 0.65
locale
Method · 0.65
clone
Method · 0.65
milliseconds
Method · 0.65
Tested by
no test coverage detected