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

Function formatUTCYear

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

Source from the content-addressed store, hash-verified

16645}
16646
16647function formatUTCYear(d, p) {
16648 return pad(d.getUTCFullYear() % 100, p, 2);
16649}
16650
16651function formatUTCYearISO(d, p) {
16652 d = UTCdISO(d);

Callers

nothing calls this directly

Calls 1

padFunction · 0.85

Tested by

no test coverage detected