[PR #5419] [MERGED] Add 'Prior year to date' time range #5925

Closed
opened 2026-02-28 21:21:02 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/actualbudget/actual/pull/5419
Author: @pogman-code
Created: 7/29/2025
Status: Merged
Merged: 8/7/2025
Merged by: @youngcw

Base: masterHead: lastYearToDate


📝 Commits (4)

  • 75e3a36 add 'Last year to date' time range
  • 096f62a Rename 'Last YTD' to 'Prior YTD'
  • 932b1d2 Day accurate prevYear for Prior YTD
  • a558000 Update VRT

📊 Changes

14 files changed (+63 additions, -3 deletions)

View changed files

📝 packages/desktop-client/e2e/reports.test.ts-snapshots/Reports-loads-cash-flow-graph-and-checks-visuals-1-chromium-linux.png (+0 -0)
📝 packages/desktop-client/e2e/reports.test.ts-snapshots/Reports-loads-cash-flow-graph-and-checks-visuals-2-chromium-linux.png (+0 -0)
📝 packages/desktop-client/e2e/reports.test.ts-snapshots/Reports-loads-cash-flow-graph-and-checks-visuals-3-chromium-linux.png (+0 -0)
📝 packages/desktop-client/e2e/reports.test.ts-snapshots/Reports-loads-net-worth-graph-and-checks-visuals-1-chromium-linux.png (+0 -0)
📝 packages/desktop-client/e2e/reports.test.ts-snapshots/Reports-loads-net-worth-graph-and-checks-visuals-2-chromium-linux.png (+0 -0)
📝 packages/desktop-client/e2e/reports.test.ts-snapshots/Reports-loads-net-worth-graph-and-checks-visuals-3-chromium-linux.png (+0 -0)
📝 packages/desktop-client/src/components/reports/Header.tsx (+18 -0)
📝 packages/desktop-client/src/components/reports/ReportOptions.ts (+10 -0)
📝 packages/desktop-client/src/components/reports/disabledList.ts (+4 -0)
📝 packages/desktop-client/src/components/reports/getLiveRange.ts (+9 -0)
📝 packages/desktop-client/src/components/reports/reportRanges.ts (+7 -0)
📝 packages/loot-core/src/shared/months.ts (+2 -2)
📝 packages/loot-core/src/types/models/dashboard.ts (+7 -1)
upcoming-release-notes/5419.md (+6 -0)

📄 Description

This add a live time range similar to "Year to date" but for the previous year.
This is useful to compare to current and previous year on the same time range.

I am not sure of the wording though (nor the placement withing the dropdown).


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/actualbudget/actual/pull/5419 **Author:** [@pogman-code](https://github.com/pogman-code) **Created:** 7/29/2025 **Status:** ✅ Merged **Merged:** 8/7/2025 **Merged by:** [@youngcw](https://github.com/youngcw) **Base:** `master` ← **Head:** `lastYearToDate` --- ### 📝 Commits (4) - [`75e3a36`](https://github.com/actualbudget/actual/commit/75e3a36ceb658176b35a5c1af928c9af6290d6bd) add 'Last year to date' time range - [`096f62a`](https://github.com/actualbudget/actual/commit/096f62ada02425cf95ebeb05decd34e28754f0e9) Rename 'Last YTD' to 'Prior YTD' - [`932b1d2`](https://github.com/actualbudget/actual/commit/932b1d2c3434c000e7a51028bb7cf48eedce8311) Day accurate prevYear for Prior YTD - [`a558000`](https://github.com/actualbudget/actual/commit/a5580000b546a88b972c63e6b1e524bf776c4aa4) Update VRT ### 📊 Changes **14 files changed** (+63 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `packages/desktop-client/e2e/reports.test.ts-snapshots/Reports-loads-cash-flow-graph-and-checks-visuals-1-chromium-linux.png` (+0 -0) 📝 `packages/desktop-client/e2e/reports.test.ts-snapshots/Reports-loads-cash-flow-graph-and-checks-visuals-2-chromium-linux.png` (+0 -0) 📝 `packages/desktop-client/e2e/reports.test.ts-snapshots/Reports-loads-cash-flow-graph-and-checks-visuals-3-chromium-linux.png` (+0 -0) 📝 `packages/desktop-client/e2e/reports.test.ts-snapshots/Reports-loads-net-worth-graph-and-checks-visuals-1-chromium-linux.png` (+0 -0) 📝 `packages/desktop-client/e2e/reports.test.ts-snapshots/Reports-loads-net-worth-graph-and-checks-visuals-2-chromium-linux.png` (+0 -0) 📝 `packages/desktop-client/e2e/reports.test.ts-snapshots/Reports-loads-net-worth-graph-and-checks-visuals-3-chromium-linux.png` (+0 -0) 📝 `packages/desktop-client/src/components/reports/Header.tsx` (+18 -0) 📝 `packages/desktop-client/src/components/reports/ReportOptions.ts` (+10 -0) 📝 `packages/desktop-client/src/components/reports/disabledList.ts` (+4 -0) 📝 `packages/desktop-client/src/components/reports/getLiveRange.ts` (+9 -0) 📝 `packages/desktop-client/src/components/reports/reportRanges.ts` (+7 -0) 📝 `packages/loot-core/src/shared/months.ts` (+2 -2) 📝 `packages/loot-core/src/types/models/dashboard.ts` (+7 -1) ➕ `upcoming-release-notes/5419.md` (+6 -0) </details> ### 📄 Description This add a live time range similar to "Year to date" but for the previous year. This is useful to compare to current and previous year on the same time range. I am not sure of the wording though (nor the placement withing the dropdown). --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-02-28 21:21:02 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#5925