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