[PR #6440] [MERGED] Change minimum transaction date from 2000 to 1995 #55830

Closed
opened 2026-05-01 03:09:27 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/actualbudget/actual/pull/6440
Author: @MatissJanis
Created: 12/17/2025
Status: Merged
Merged: 12/19/2025
Merged by: @MatissJanis

Base: masterHead: matiss/change-min-year-to-1995


📝 Commits (1)

  • 59a1fda Change minimum transaction date from 2000 to 1995

📊 Changes

3 files changed (+13 additions, -7 deletions)

View changed files

📝 packages/loot-core/src/server/aql/schema-helpers.test.ts (+6 -6)
📝 packages/loot-core/src/server/aql/schema-helpers.ts (+1 -1)
upcoming-release-notes/6440.md (+6 -0)

📄 Description

Summary

This PR changes the minimum allowed date for transactions from 2000-01-01 to 1995-01-01, allowing users to enter older transaction dates without crashes.

Changes

  • Updated date validation in schema-helpers.ts to accept dates from 1995-01-01 onwards
  • Updated corresponding tests in schema-helpers.test.ts to reflect the new minimum date

Context

This addresses the date validation bug mentioned in PR #5970 that was causing crashes with old dates. By lowering the minimum year from 2000 to 1995, users can now enter transactions from 1995 onwards.

Testing

  • Updated unit tests to verify dates before 1995-01-01 are rejected
  • Updated unit tests to verify dates on or after 1995-01-01 are accepted

🔄 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/6440 **Author:** [@MatissJanis](https://github.com/MatissJanis) **Created:** 12/17/2025 **Status:** ✅ Merged **Merged:** 12/19/2025 **Merged by:** [@MatissJanis](https://github.com/MatissJanis) **Base:** `master` ← **Head:** `matiss/change-min-year-to-1995` --- ### 📝 Commits (1) - [`59a1fda`](https://github.com/actualbudget/actual/commit/59a1fda630a38151018be40e6ce0ec2532d37183) Change minimum transaction date from 2000 to 1995 ### 📊 Changes **3 files changed** (+13 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `packages/loot-core/src/server/aql/schema-helpers.test.ts` (+6 -6) 📝 `packages/loot-core/src/server/aql/schema-helpers.ts` (+1 -1) ➕ `upcoming-release-notes/6440.md` (+6 -0) </details> ### 📄 Description ## Summary This PR changes the minimum allowed date for transactions from 2000-01-01 to 1995-01-01, allowing users to enter older transaction dates without crashes. ## Changes - Updated date validation in `schema-helpers.ts` to accept dates from 1995-01-01 onwards - Updated corresponding tests in `schema-helpers.test.ts` to reflect the new minimum date ## Context This addresses the date validation bug mentioned in PR #5970 that was causing crashes with old dates. By lowering the minimum year from 2000 to 1995, users can now enter transactions from 1995 onwards. ## Testing - Updated unit tests to verify dates before 1995-01-01 are rejected - Updated unit tests to verify dates on or after 1995-01-01 are accepted --- <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-05-01 03:09:28 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#55830