Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/npmx-dev/npmx.dev
/ daysInYear
Function
daysInYear
app/utils/date.ts:22–24 ·
view source on GitHub ↗
(year: number)
Source
from the content-addressed store, hash-verified
20
}
21
22
export
function
daysInYear(year: number): number {
23
return
year % 4 === 0 && (year % 100 !== 0 || year % 400 === 0) ? 366 : 365
24
}
Callers
2
date.spec.ts
File · 0.90
buildYearlyEvolution
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected