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

Function formatUTCFullYearISO

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

Source from the content-addressed store, hash-verified

16658}
16659
16660function formatUTCFullYearISO(d, p) {
16661 var day = d.getUTCDay();
16662 d = (day >= 4 || day === 0) ? utcThursday(d) : utcThursday.ceil(d);
16663 return pad(d.getUTCFullYear() % 10000, p, 4);
16664}
16665
16666function formatUTCZone() {
16667 return "+0000";

Callers

nothing calls this directly

Calls 1

padFunction · 0.85

Tested by

no test coverage detected