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

Method todayKey

wxapp/txdt.js:292–298  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

290 }
291
292 todayKey() {
293 const now = new Date();
294 const year = now.getFullYear();
295 const month = `${now.getMonth() + 1}`.padStart(2, "0");
296 const day = `${now.getDate()}`.padStart(2, "0");
297 return `${year}${month}${day}`;
298 }
299
300 async queryCalendar(prefix = "签到状态") {
301 const data = await this.mapApi("/activity/v1/checkin/calendar", {

Callers 1

queryCalendarMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected