Skip to content

Add locale-aware financial formatting#933

Open
alceops wants to merge 1 commit intorohitdash08:mainfrom
alceops:alceops/locale-formatting
Open

Add locale-aware financial formatting#933
alceops wants to merge 1 commit intorohitdash08:mainfrom
alceops:alceops/locale-formatting

Conversation

@alceops
Copy link
Copy Markdown

@alceops alceops commented Apr 24, 2026

Closes #131

Summary

  • Add a locale formatting service for currency, numbers, and dates with deterministic support for en-IN, en-US, en-GB, de-DE, fr-FR, and ja-JP.
  • Add non-breaking formatted metadata to expense/recurring expense and dashboard payloads while preserving raw API values.
  • Add locale-aware dashboard cache keys and dashboard cache invalidation when expenses change.
  • Add Redis-unavailable in-memory fallback so auth/cache flows keep working in local/free-tier environments.
  • Document locale resolution, supported locales/currencies, and example responses.

Tests

  • PYTHONPATH=. ../../.venv/bin/pytest tests (24 passed)

@alceops alceops requested a review from rohitdash08 as a code owner April 24, 2026 19:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Locale-aware date, currency & number formatting

1 participant