Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/breck7/scroll
/ formatFullYear
Function
formatFullYear
external/.d3.js:16567–16569 ·
view source on GitHub ↗
(d, p)
Source
from the content-addressed store, hash-verified
16565
}
16566
16567
function
formatFullYear(d, p) {
16568
return
pad(d.getFullYear() % 10000, p, 4);
16569
}
16570
16571
function
formatFullYearISO(d, p) {
16572
var
day = d.getDay();
Callers
nothing calls this directly
Calls
1
pad
Function · 0.85
Tested by
no test coverage detected