[PR #4629] [MERGED] 🐛 fixed current month upcoming calculation #5496

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

📋 Pull Request Information

Original PR: https://github.com/actualbudget/actual/pull/4629
Author: @alecbakholdin
Created: 3/15/2025
Status: Merged
Merged: 3/19/2025
Merged by: @youngcw

Base: masterHead: current-month-upcoming-schedule-bug


📝 Commits (6)

  • 1110fe1 fixed current month upcoming calculation
  • 600dce1 added release notes
  • 8bb1d29 updated test to validate the new behavior of getUpcoming
  • 55f25b0 modified one month and added more tests for leap years and months with different dates
  • 4947d1e Merge branch 'master' into current-month-upcoming-schedule-bug
  • e096dfa Fixed odd error

📊 Changes

4 files changed (+39 additions, -23 deletions)

View changed files

📝 packages/loot-core/src/client/data-hooks/transactions.ts (+3 -3)
📝 packages/loot-core/src/shared/schedules.test.ts (+22 -12)
📝 packages/loot-core/src/shared/schedules.ts (+8 -8)
upcoming-release-notes/4629.md (+6 -0)

📄 Description

Resolves #4368

  1. Changes currentMonth and oneMonth logic to behave better.
  2. Added tests for the methods to validate leap year

🔄 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/4629 **Author:** [@alecbakholdin](https://github.com/alecbakholdin) **Created:** 3/15/2025 **Status:** ✅ Merged **Merged:** 3/19/2025 **Merged by:** [@youngcw](https://github.com/youngcw) **Base:** `master` ← **Head:** `current-month-upcoming-schedule-bug` --- ### 📝 Commits (6) - [`1110fe1`](https://github.com/actualbudget/actual/commit/1110fe1a528cd01c4fe536e3dcfdaffb76f7a842) fixed current month upcoming calculation - [`600dce1`](https://github.com/actualbudget/actual/commit/600dce1ba02885a71233d20643e92cec545969ac) added release notes - [`8bb1d29`](https://github.com/actualbudget/actual/commit/8bb1d295dd151c93dd10cb5caad16c7054cc858f) updated test to validate the new behavior of getUpcoming - [`55f25b0`](https://github.com/actualbudget/actual/commit/55f25b0bbc47bf72495ea3fba04ddc8617482b3f) modified one month and added more tests for leap years and months with different dates - [`4947d1e`](https://github.com/actualbudget/actual/commit/4947d1e8967557a58695246c367acc2f2ad0a7f8) Merge branch 'master' into current-month-upcoming-schedule-bug - [`e096dfa`](https://github.com/actualbudget/actual/commit/e096dfa9a57da814c756e65fef9dd26415feda98) Fixed odd error ### 📊 Changes **4 files changed** (+39 additions, -23 deletions) <details> <summary>View changed files</summary> 📝 `packages/loot-core/src/client/data-hooks/transactions.ts` (+3 -3) 📝 `packages/loot-core/src/shared/schedules.test.ts` (+22 -12) 📝 `packages/loot-core/src/shared/schedules.ts` (+8 -8) ➕ `upcoming-release-notes/4629.md` (+6 -0) </details> ### 📄 Description Resolves #4368 1. Changes currentMonth and oneMonth logic to behave better. 2. Added tests for the methods to validate leap year --- <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:13:25 -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#5496