[PR #2981] [MERGED] Fix number formatting with non-breaking space #4620

Closed
opened 2026-02-28 20:58:37 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/actualbudget/actual/pull/2981
Author: @julianwachholz
Created: 7/4/2024
Status: Merged
Merged: 7/9/2024
Merged by: @MatissJanis

Base: masterHead: fix-number-formatting


📝 Commits (3)

  • 31be7f8 Fix number format parsing with non-breaking spaces
  • 388ed3d Add release note
  • 8901af0 Remove unsupported "dje" locale number format

📊 Changes

5 files changed (+13 additions, -26 deletions)

View changed files

📝 packages/loot-core/src/shared/arithmetic.test.ts (+4 -0)
📝 packages/loot-core/src/shared/arithmetic.ts (+1 -1)
📝 packages/loot-core/src/shared/util.test.ts (+0 -11)
📝 packages/loot-core/src/shared/util.ts (+2 -14)
upcoming-release-notes/2981.md (+6 -0)

📄 Description

This change:

  • prevents an issue with non-breaking spaces in a number format not being parsed correctly (e.g. 1 200,00 becomes 1.20``)
  • removes an unsupported "dje" locale for number formatting (unfortunately not all major browsers support it)

🔄 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/2981 **Author:** [@julianwachholz](https://github.com/julianwachholz) **Created:** 7/4/2024 **Status:** ✅ Merged **Merged:** 7/9/2024 **Merged by:** [@MatissJanis](https://github.com/MatissJanis) **Base:** `master` ← **Head:** `fix-number-formatting` --- ### 📝 Commits (3) - [`31be7f8`](https://github.com/actualbudget/actual/commit/31be7f8cbf9b34091e437f54107bfc4413088c27) Fix number format parsing with non-breaking spaces - [`388ed3d`](https://github.com/actualbudget/actual/commit/388ed3dc8b402fff6cb07974ac0e067bb0aee12f) Add release note - [`8901af0`](https://github.com/actualbudget/actual/commit/8901af06570f9fa3ff59573802d7893639c27b02) Remove unsupported "dje" locale number format ### 📊 Changes **5 files changed** (+13 additions, -26 deletions) <details> <summary>View changed files</summary> 📝 `packages/loot-core/src/shared/arithmetic.test.ts` (+4 -0) 📝 `packages/loot-core/src/shared/arithmetic.ts` (+1 -1) 📝 `packages/loot-core/src/shared/util.test.ts` (+0 -11) 📝 `packages/loot-core/src/shared/util.ts` (+2 -14) ➕ `upcoming-release-notes/2981.md` (+6 -0) </details> ### 📄 Description This change: - prevents an issue with non-breaking spaces in a number format not being parsed correctly (e.g. `1 200,00` becomes 1.20``) - removes an unsupported "dje" locale for number formatting (unfortunately not all major browsers support it) --- <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 20:58:37 -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#4620