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

Function formatUnixTimestamp

external/.d3.js:16674–16676  ·  view source on GitHub ↗
(d)

Source from the content-addressed store, hash-verified

16672}
16673
16674function formatUnixTimestamp(d) {
16675 return +d;
16676}
16677
16678function formatUnixTimestampSeconds(d) {
16679 return Math.floor(+d / 1000);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected