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

Function formatYearISO

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

Source from the content-addressed store, hash-verified

112758 return pad(d.getFullYear() % 100, p, 2);
112759}
112760function formatYearISO(d, p) {
112761 d = dISO(d);
112762 return pad(d.getFullYear() % 100, p, 2);
112763}
112764function formatFullYear(d, p) {
112765 return pad(d.getFullYear() % 10000, p, 4);
112766}

Callers

nothing calls this directly

Calls 2

dISOFunction · 0.70
padFunction · 0.70

Tested by

no test coverage detected