Fixed issue with date range.
Build and Test App / Build-and-test-App (push) Successful in 34s
Details
Build and Test App / Build-and-test-App (push) Successful in 34s
Details
This commit is contained in:
parent
7803cb741b
commit
9360997254
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue