MCPcopy Index your code
hub / github.com/smallfawn/QLScriptPublic / formatMonth

Function formatMonth

wxapp/wb.js:88–91  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

86}
87
88function formatMonth() {
89 const date = new Date();
90 return `${date.getFullYear()}-${String(date.getMonth() + 1).padStart(2, "0")}`;
91}
92
93function isTokenError(message) {
94 return /2032401|token|登录|授权|invalid|expire|过期|401|403/i.test(String(message || ""));

Callers 1

signInMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected