MCPcopy Index your code
hub / github.com/apache/echarts / formatDate

Function formatDate

test/runTest/store.js:310–313  ·  view source on GitHub ↗
(lastRunTime)

Source from the content-addressed store, hash-verified

308 return number < 10 ? '0' + number : number;
309 }
310 function formatDate(lastRunTime) {
311 const date = new Date(lastRunTime);
312 return `${date.getFullYear()}-${f(date.getMonth() + 1)}-${f(date.getDate())} ${f(date.getHours())}:${f(date.getMinutes())}:${f(date.getSeconds())}`;
313 }
314 for (let dir of dirs) {
315 const params = parseRunHash(dir);
316 let resultJson = [];

Callers 1

store.jsFile · 0.70

Calls 1

fFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…