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

Function parseUnixTimestampSeconds

docs/app/js/sanddance-app.js:112705–112708  ·  view source on GitHub ↗
(d, string, i)

Source from the content-addressed store, hash-verified

112703 return n ? (d.Q = +n[0], i + n[0].length) : -1;
112704}
112705function parseUnixTimestampSeconds(d, string, i) {
112706 var n = numberRe.exec(string.slice(i));
112707 return n ? (d.s = +n[0], i + n[0].length) : -1;
112708}
112709function formatDayOfMonth(d, p) {
112710 return pad(d.getDate(), p, 2);
112711}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected