Fixed issue with date range.
Build and Test App / Build-and-test-App (push) Successful in 34s Details

This commit is contained in:
Andrew Lalis 2025-09-29 16:24:22 -04:00
parent 7803cb741b
commit 9360997254
1 changed files with 2 additions and 2 deletions

View File

@ -148,7 +148,7 @@ async function showThisWeek() {
}
// Then set the from-date to the Monday of that week.
fromDate.value = new Date(today)
fromDate.value = new Date(toDate.value)
fromDate.value.setHours(0, 0, 0, 0)
fromDate.value.setDate(toDate.value.getDate() - 4)
await loadEntries()