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

Function addZero

editormd.amd.js:4562–4564  ·  view source on GitHub ↗
(d)

Source from the content-addressed store, hash-verified

4560 format = format || "";
4561
4562 var addZero = function(d) {
4563 return (d < 10) ? "0" + d : d;
4564 };
4565
4566 var date = new Date();
4567 var year = date.getFullYear();

Callers 1

editormd.amd.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…