MCPcopy Create free account
hub / github.com/breck7/scroll / parseUnixTimestampSeconds

Function parseUnixTimestampSeconds

external/.d3.js:16490–16493  ·  view source on GitHub ↗
(d, string, i)

Source from the content-addressed store, hash-verified

16488}
16489
16490function parseUnixTimestampSeconds(d, string, i) {
16491 var n = numberRe.exec(string.slice(i));
16492 return n ? (d.s = +n[0], i + n[0].length) : -1;
16493}
16494
16495function formatDayOfMonth(d, p) {
16496 return pad(d.getDate(), p, 2);

Callers

nothing calls this directly

Calls 1

sliceMethod · 0.80

Tested by

no test coverage detected