Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/alephdata/aleph
/ util.test.ts
File
util.test.ts
ui/src/components/Timeline/util.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ Model, defaultModel } from
'@alephdata/followthemoney'
;
2
import
{ TimelineItem, ImpreciseDate, reformatDateString } from
'./util'
;
3
4
const
model =
new
Model(defaultModel);
Callers
nothing calls this directly
Calls
11
reformatDateString
Function · 0.90
getEarliestDate
Method · 0.80
getLatestDate
Method · 0.80
getDuration
Method · 0.80
isSingleDay
Method · 0.80
isMultiDay
Method · 0.80
getEarliest
Method · 0.80
getLatest
Method · 0.80
getEntity
Method · 0.45
getColor
Method · 0.45
isValid
Method · 0.45
Tested by
no test coverage detected