Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ChatLab/ChatLab
/ toLocalMonth
Function
toLocalMonth
packages/core/src/query/advanced/relationship.ts:344–347 ·
view source on GitHub ↗
(ts: number)
Source
from the content-addressed store, hash-verified
342
}
343
344
function
toLocalMonth(ts: number): string {
345
const
d =
new
Date(ts * 1000)
346
return
`${d.getFullYear()}-${String(d.getMonth() + 1).padStart(2,
'0'
)}`
347
}
Callers
1
getRelationshipStats
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected