MCPcopy Create free account
hub / github.com/Rfym21/Qwen2API / _getTodayKey

Function _getTodayKey

src/utils/account.js:60–60  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

58 // statsHistory: { 'YYYY-MM-DD': { chat:{input,output}, cli:{calls,input,output} } }
59 // Backward-compat: legacy records without the field — initialize to {}
60 if (!account.statsHistory || typeof account.statsHistory !== 'object') {
61 account.statsHistory = {}
62 }
63}

Callers 1

getTodayKeyMethod · 0.85

Calls 1

_formatDateKeyFunction · 0.85

Tested by

no test coverage detected