actualbudget / actualbudget/actual

[Bug]: Weekly interval reports missing last week of data

Offen
#3,797 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
reports
Vorherrschende Sprache
TypeScript
Sterne
28.8k
Forks
3k
Ø Merge
2 T. 11 Std.
Gemergte PRs (30 T.)
65

Beschreibung

### Verified issue does not already exist?

- [X] I have searched and found no existing issue
- [X] I will be providing steps how to reproduce the bug (in most cases this will also mean uploading a demo budget file)

### What happened?

I'm seeing a (new, I think) bug with custom reports, only tested on bar chart but when I set a static week range it looks like the "to" date doesn't take into account the whole period. The intervals in the chart are filled correctly but the data for the last week is not pulled in.

Eg.
Interval: weekly
From: Mon 30/09/2024
To: Mon 28/10/2024

Only takes into account Mon 30/09/2024 - Mon 28/10/2024
I'd expect it would take into account Mon 30/10/2024 - Sun 03/11/2024 to include the full week

![image](https://github.com/user-attachments/assets/21157da2-390d-4ac9-a849-91046d813c07)
![image](https://github.com/user-attachments/assets/8b23546f-2f80-440a-982a-0781cd2c348b)

intervalEndDate appears wrong here:
![image](https://github.com/user-attachments/assets/2de7512d-f20a-44ea-99a3-f99af665e85b)

### Where are you hosting Actual?

Locally via Yarn

### What browsers are you seeing the problem on?

Chrome

### Operating System

Windows 11

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Start by reproducing the custom bar-chart report locally via Yarn in Chrome with a weekly interval and the reported static date range. Inspect where intervalEndDate is calculated, then verify that the final interval includes the full week through the expected end date.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
typescript
Bereich
data-visualization
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
48/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.