MCPcopy Create free account
hub / github.com/PatMartin/Dex / dateString_

Function dateString_

javascript/dygraph/latest/dygraph.js:5442–5464  ·  view source on GitHub ↗

* Convert a JS date (millis since epoch) to a formatted string. * @param {number} time The JavaScript time value (ms since epoch) * @param {boolean} utc Wether output UTC or local time * @return {string} A date of one of these forms: * "YYYY/MM/DD", "YYYY/MM/DD HH:MM" or "YYYY/MM/DD HH:MM:SS

(time, utc)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

dateValueFormatterFunction · 0.85

Calls 3

zeropadFunction · 0.85
hmsString_Function · 0.85
getDateMethod · 0.45

Tested by

no test coverage detected