[Bug]: Setting end month before starting month shows 7 months of data which seems odd #1411

Open
opened 2026-02-28 19:42:56 -06:00 by GiteaMirror · 4 comments
Owner

Originally created by @Teprifer on GitHub (Sep 12, 2024).

Verified issue does not already exist?

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

What happened?

Assuming a budget file with enough data in it to go back.

Steps to reproduce:

  1. View net worth or cash flow graph
  2. Change time period to the preset 6 months option
  3. Result: 6 months show across the X axis (Image 1)
  4. Change the end month to a month at least 6 month ago (i.e. March 2024 or older)
  5. Result, x axis displays 7 months

Image 1:
image

Image 2:
image

Same occurs if using the other pre-set periods as it'll set to 7 months worth any time the end month is set to before the starting month and it's auto-adjusting to give a sane result.

Kinda minor I guess since when changing the end month you'd probably expect the starting month to also be changed, but it did look odd as not matching any of the pre-set options and stands out more as being incorrect if you'd started from the 6 month option.

Where are you hosting Actual?

Docker

What browsers are you seeing the problem on?

Firefox, Chrome

Operating System

Windows 11

Originally created by @Teprifer on GitHub (Sep 12, 2024). ### 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? Assuming a budget file with enough data in it to go back. Steps to reproduce: 1. View net worth or cash flow graph 2. Change time period to the preset 6 months option 3. Result: 6 months show across the X axis (Image 1) 4. Change the end month to a month at least 6 month ago (i.e. March 2024 or older) 5. Result, x axis displays 7 months Image 1: ![image](https://github.com/user-attachments/assets/8c7076f6-6bfe-4655-ae1d-4b0036a543ce) Image 2: ![image](https://github.com/user-attachments/assets/2d8b2243-27f4-4f93-885c-3fe44ad03dad) Same occurs if using the other pre-set periods as it'll set to 7 months worth any time the end month is set to before the starting month and it's auto-adjusting to give a sane result. Kinda minor I guess since when changing the end month you'd probably expect the starting month to also be changed, but it did look odd as not matching any of the pre-set options and stands out more as being incorrect if you'd started from the 6 month option. ### Where are you hosting Actual? Docker ### What browsers are you seeing the problem on? Firefox, Chrome ### Operating System Windows 11
GiteaMirror added the reportsbug labels 2026-02-28 19:42:56 -06:00
Author
Owner

@youngcw commented on GitHub (Sep 22, 2024):

Maybe the fixed start month should get changed to be the same month since one month of view is the default now.

@youngcw commented on GitHub (Sep 22, 2024): Maybe the fixed start month should get changed to be the same month since one month of view is the default now.
Author
Owner

@Teprifer commented on GitHub (Sep 23, 2024):

Maybe the fixed start month should get changed to be the same month since one month of view is the default now.

That makes sense too, I think either or would be fine.

@Teprifer commented on GitHub (Sep 23, 2024): > Maybe the fixed start month should get changed to be the same month since one month of view is the default now. That makes sense too, I think either or would be fine.
Author
Owner

@youngcw commented on GitHub (Jan 15, 2025):

Im not able to recreate this anymore. Can you confirm?

@youngcw commented on GitHub (Jan 15, 2025): Im not able to recreate this anymore. Can you confirm?
Author
Owner

@Teprifer commented on GitHub (Jan 17, 2025):

Still there in 25.1.0, and edge (just pulled) using the steps I wrote in the description.

@Teprifer commented on GitHub (Jan 17, 2025): Still there in 25.1.0, and edge (just pulled) using the steps I wrote in the description.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#1411