Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/breck7/scroll
/ formatUTCYearISO
Function
formatUTCYearISO
external/.d3.js:16651–16654 ·
view source on GitHub ↗
(d, p)
Source
from the content-addressed store, hash-verified
16649
}
16650
16651
function
formatUTCYearISO(d, p) {
16652
d = UTCdISO(d);
16653
return
pad(d.getUTCFullYear() % 100, p, 2);
16654
}
16655
16656
function
formatUTCFullYear(d, p) {
16657
return
pad(d.getUTCFullYear() % 10000, p, 4);
Callers
nothing calls this directly
Calls
2
UTCdISO
Function · 0.85
pad
Function · 0.85
Tested by
no test coverage detected