MCPcopy 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
16651function formatUTCYearISO(d, p) {
16652 d = UTCdISO(d);
16653 return pad(d.getUTCFullYear() % 100, p, 2);
16654}
16655
16656function formatUTCFullYear(d, p) {
16657 return pad(d.getUTCFullYear() % 10000, p, 4);

Callers

nothing calls this directly

Calls 2

UTCdISOFunction · 0.85
padFunction · 0.85

Tested by

no test coverage detected