MCPcopy Create free account
hub / github.com/breck7/scroll / formatUTCFullYear

Function formatUTCFullYear

external/.d3.js:16656–16658  ·  view source on GitHub ↗
(d, p)

Source from the content-addressed store, hash-verified

16654}
16655
16656function formatUTCFullYear(d, p) {
16657 return pad(d.getUTCFullYear() % 10000, p, 4);
16658}
16659
16660function formatUTCFullYearISO(d, p) {
16661 var day = d.getUTCDay();

Callers

nothing calls this directly

Calls 1

padFunction · 0.85

Tested by

no test coverage detected