Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/TruthHun/BookStack
/ addZero
Function
addZero
static/editor.md/editormd.js:4582–4584 ·
view source on GitHub ↗
(d)
Source
from the content-addressed store, hash-verified
4580
format = format ||
""
;
4581
4582
var
addZero =
function
(d) {
4583
return
(d < 10) ?
"0"
+ d : d;
4584
};
4585
4586
var
date =
new
Date();
4587
var
year = date.getFullYear();
Callers
1
editormd.js
File · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected