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

Function f

test/runTest/store.js:307–309  ·  view source on GitHub ↗
(number)

Source from the content-addressed store, hash-verified

305 const results = [];
306
307 function f(number) {
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())}`;

Callers 1

formatDateFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected