MCPcopy
hub / github.com/pandao/editor.md / addZero

Function addZero

editormd.js:4492–4494  ·  view source on GitHub ↗
(d)

Source from the content-addressed store, hash-verified

4490 format = format || "";
4491
4492 var addZero = function(d) {
4493 return (d < 10) ? "0" + d : d;
4494 };
4495
4496 var date = new Date();
4497 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…