MCPcopy Index your code
hub / github.com/callumalpass/tasknotes / updateMonthStats

Method updateMonthStats

src/views/StatsView.ts:514–523  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

512 }
513
514 private async updateMonthStats() {
515 if (!this.monthStatsEl) return;
516
517 const todayLocal = getTodayLocal();
518 const monthStart = startOfMonth(todayLocal);
519 const monthEnd = endOfMonth(todayLocal);
520
521 const stats = await this.calculateStatsForRange(monthStart, monthEnd);
522 this.renderTimeRangeStats(this.monthStatsEl, stats);
523 }
524
525 private async updateProjectStats() {
526 if (!this.projectsStatsEl) return;

Callers 1

refreshStatsMethod · 0.95

Calls 3

renderTimeRangeStatsMethod · 0.95
getTodayLocalFunction · 0.90

Tested by

no test coverage detected