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

Function parseUnixTimestampSeconds

docs/tests/v2/es6/js/sanddance.js:82632–82635  ·  view source on GitHub ↗
(d, string, i)

Source from the content-addressed store, hash-verified

82630}
82631
82632function parseUnixTimestampSeconds(d, string, i) {
82633 var n = numberRe.exec(string.slice(i));
82634 return n ? (d.s = +n[0], i + n[0].length) : -1;
82635}
82636
82637function formatDayOfMonth(d, p) {
82638 return pad(d.getDate(), p, 2);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected