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

Function formatUTCWeekdayNumberMonday

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

Source from the content-addressed store, hash-verified

16618}
16619
16620function formatUTCWeekdayNumberMonday(d) {
16621 var dow = d.getUTCDay();
16622 return dow === 0 ? 7 : dow;
16623}
16624
16625function formatUTCWeekNumberSunday(d, p) {
16626 return pad(utcSunday.count(utcYear(d) - 1, d), p, 2);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected