MCPcopy
hub / github.com/codedogQBY/ReadAny / getTodayDateStr

Function getTodayDateStr

packages/core/src/feedback/feedback-service.ts:50–52  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

48let _logDirPath = "";
49
50function getTodayDateStr(): string {
51 return new Date().toISOString().slice(0, 10); // "2026-05-08"
52}
53
54async function ensureLogDir(): Promise<string> {
55 if (_logDirReady) return _logDirPath;

Callers 3

getLogFilePathFunction · 0.85
collectLogsFunction · 0.85
clearLogsFunction · 0.85

Calls 1

sliceMethod · 0.80

Tested by

no test coverage detected