mirror of
https://github.com/actualbudget/actual.git
synced 2026-03-11 12:43:09 -05:00
Switch from en-ZA to en-SE for space-comma NumberFormat (#1938)
This commit is contained in:
@@ -219,7 +219,7 @@ export function getNumberFormat({ format, hideFraction } = numberFormatConfig) {
|
||||
|
||||
switch (format) {
|
||||
case 'space-comma':
|
||||
locale = 'en-ZA';
|
||||
locale = 'en-SE';
|
||||
regex = /[^-0-9,]/g;
|
||||
separator = ',';
|
||||
break;
|
||||
|
||||
6
upcoming-release-notes/1938.md
Normal file
6
upcoming-release-notes/1938.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
category: Bugfix
|
||||
authors: [twk3]
|
||||
---
|
||||
|
||||
Fix space-comma format for newer NodeJS versions (18.18, and 21.x), fixes #1937
|
||||
Reference in New Issue
Block a user