[PR #6568] [WIP] fix: use user's date format for month filter value display #6607

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

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

State: closed
Merged: No


Summary

  • Fixes month filter using wrong date format when editing filter value
  • Uses user's date format preference instead of hardcoded MM/yyyy format

Changes

  • Gets user's date format using useDateFormat() hook in ConfigureField component
  • Uses parseDate() and formatDate() with getMonthYearFormat(dateFormat) to convert stored format to user's preferred format
  • Adds dateFormat to formattedValue dependencies

Test Plan

  • Verified yarn typecheck passes
  • Verified yarn lint:fix passes
  • Verified yarn test passes
  • Manual testing: edit month filter with different date format settings

Fixes #6341

**Original Pull Request:** https://github.com/actualbudget/actual/pull/6568 **State:** closed **Merged:** No --- ## Summary - Fixes month filter using wrong date format when editing filter value - Uses user's date format preference instead of hardcoded MM/yyyy format ## Changes - Gets user's date format using `useDateFormat()` hook in `ConfigureField` component - Uses `parseDate()` and `formatDate()` with `getMonthYearFormat(dateFormat)` to convert stored format to user's preferred format - Adds `dateFormat` to `formattedValue` dependencies ## Test Plan - [x] Verified `yarn typecheck` passes - [x] Verified `yarn lint:fix` passes - [x] Verified `yarn test` passes - [x] Manual testing: edit month filter with different date format settings Fixes #6341
GiteaMirror added the pull-request label 2026-02-28 21:30:36 -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#6607