MCPcopy Create free account
hub / github.com/smallfawn/QLScriptPublic / formatDate

Function formatDate

wxapp/ztkd.js:62–64  ·  view source on GitHub ↗
(date)

Source from the content-addressed store, hash-verified

60}
61
62function formatDate(date) {
63 return `${date.getFullYear()}-${pad(date.getMonth() + 1)}-${pad(date.getDate())}`;
64}
65
66function parseAccount(raw) {
67 const text = String(raw || "").trim();

Callers 2

signRangeMethod · 0.70
signMethod · 0.70

Calls 1

padFunction · 0.70

Tested by

no test coverage detected