feat: update daily character management and local storage handling

This commit is contained in:
2026-03-01 16:43:54 +01:00
parent 0b81e9e350
commit 00bd718699
5 changed files with 39 additions and 42 deletions

View File

@@ -38,7 +38,7 @@ function getDateKey(date: Date): string {
function normalizeDay(date: Date = new Date()): Date {
const normalized = new Date(date);
normalized.setHours(0, 0, 0, 0);
normalized.setHours(1, 0, 0, 0);
return normalized;
}