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

Function parseUnixTimestampSeconds

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

Source from the content-addressed store, hash-verified

23136}
23137
23138function parseUnixTimestampSeconds(d, string, i) {
23139 var n = numberRe.exec(string.slice(i));
23140 return n ? (d.Q = (+n[0]) * 1000, i + n[0].length) : -1;
23141}
23142
23143function formatDayOfMonth(d, p) {
23144 return pad(d.getDate(), p, 2);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected