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

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

Original Pull Request: https://github.com/actualbudget/actual/pull/6440

State: closed
Merged: Yes


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
**Original Pull Request:** https://github.com/actualbudget/actual/pull/6440 **State:** closed **Merged:** Yes --- ## 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
GiteaMirror added the pull-request label 2026-02-28 21:29:34 -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#6526