MCPcopy Create free account
hub / github.com/NobyDa/Script / getTodayFlag

Function getTodayFlag

Bilibili-DailyBonus/ExchangePoints.js:251–257  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

249}
250
251function getTodayFlag() {
252 const now = new Date();
253 const year = now.getFullYear();
254 const month = String(now.getMonth() + 1).padStart(2, '0');
255 const day = String(now.getDate()).padStart(2, '0');
256 return `${year}-${month}-${day}`;
257}
258
259function argsList(data) {
260 return Array.from(

Callers 1

ExchangePoints.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected