MCPcopy Create free account
hub / github.com/microsoft/SandDance / formatUTCWeekdayNumberMonday

Function formatUTCWeekdayNumberMonday

docs/app/js/sanddance-app.js:112803–112806  ·  view source on GitHub ↗
(d)

Source from the content-addressed store, hash-verified

112801 return pad(d.getUTCSeconds(), p, 2);
112802}
112803function formatUTCWeekdayNumberMonday(d) {
112804 var dow = d.getUTCDay();
112805 return dow === 0 ? 7 : dow;
112806}
112807function formatUTCWeekNumberSunday(d, p) {
112808 return pad((0, _d3Time.utcSunday).count((0, _d3Time.utcYear)(d) - 1, d), p, 2);
112809}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected