feat: update daily character management and local storage handling
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user