MCPcopy Index your code
hub / github.com/pandao/editor.md / addZero

Function addZero

src/editormd.js:4480–4482  ·  view source on GitHub ↗
(d)

Source from the content-addressed store, hash-verified

4478 format = format || "";
4479
4480 var addZero = function(d) {
4481 return (d < 10) ? "0" + d : d;
4482 };
4483
4484 var date = new Date();
4485 var year = date.getFullYear();

Callers 1

editormd.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…