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

Function formatWeekNumberISO

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

Source from the content-addressed store, hash-verified

16543}
16544
16545function formatWeekNumberISO(d, p) {
16546 d = dISO(d);
16547 return pad(timeThursday.count(timeYear(d), d) + (timeYear(d).getDay() === 4), p, 2);
16548}
16549
16550function formatWeekdayNumberSunday(d) {
16551 return d.getDay();

Callers

nothing calls this directly

Calls 2

dISOFunction · 0.85
padFunction · 0.85

Tested by

no test coverage detected