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

Function week

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

Source from the content-addressed store, hash-verified

111235 return localDayOfYear(new Date(d));
111236}
111237function week(d) {
111238 return localWeekNum(new Date(d));
111239}
111240function localDayOfYear(d) {
111241 return (0, _d3Time.timeDay).count(localYear(d.getFullYear()) - 1, d);
111242}

Callers 2

timeMultiFormatFunction · 0.70
tickFormatFunction · 0.70

Calls 1

localWeekNumFunction · 0.70

Tested by

no test coverage detected