MCPcopy Index your code
hub / github.com/codeaashu/claude-code / getNextDay

Function getNextDay

src/utils/stats.ts:847–851  ·  view source on GitHub ↗

* Get the next day after a given date string (YYYY-MM-DD format).

(dateStr: string)

Source from the content-addressed store, hash-verified

845 * Get the next day after a given date string (YYYY-MM-DD format).
846 */
847function getNextDay(dateStr: string): string {
848 const date = new Date(dateStr)
849 date.setDate(date.getDate() + 1)
850 return toDateString(date)
851}
852
853function calculateStreaks(dailyActivity: DailyActivity[]): StreakInfo {
854 if (dailyActivity.length === 0) {

Callers 1

aggregateClaudeCodeStatsFunction · 0.85

Calls 1

toDateStringFunction · 0.85

Tested by

no test coverage detected