MCPcopy Create free account
hub / github.com/CSAILVision/gandissect / parseUnixTimestamp

Function parseUnixTimestamp

client_dist/vendor.js:23133–23136  ·  view source on GitHub ↗
(d, string, i)

Source from the content-addressed store, hash-verified

23131}
23132
23133function parseUnixTimestamp(d, string, i) {
23134 var n = numberRe.exec(string.slice(i));
23135 return n ? (d.Q = +n[0], i + n[0].length) : -1;
23136}
23137
23138function parseUnixTimestampSeconds(d, string, i) {
23139 var n = numberRe.exec(string.slice(i));

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected