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

Function formatWeekdayNumberMonday

external/.d3.js:16531–16534  ·  view source on GitHub ↗
(d)

Source from the content-addressed store, hash-verified

16529}
16530
16531function formatWeekdayNumberMonday(d) {
16532 var day = d.getDay();
16533 return day === 0 ? 7 : day;
16534}
16535
16536function formatWeekNumberSunday(d, p) {
16537 return pad(timeSunday.count(timeYear(d) - 1, d), p, 2);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected