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

Function formatMonthNumber

docs/app/js/sanddance-app.js:112727–112729  ·  view source on GitHub ↗
(d, p)

Source from the content-addressed store, hash-verified

112725 return formatMilliseconds(d, p) + "000";
112726}
112727function formatMonthNumber(d, p) {
112728 return pad(d.getMonth() + 1, p, 2);
112729}
112730function formatMinutes(d, p) {
112731 return pad(d.getMinutes(), p, 2);
112732}

Callers

nothing calls this directly

Calls 1

padFunction · 0.70

Tested by

no test coverage detected