()
| 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; |
no test coverage detected