mirror of
https://github.com/actualbudget/actual.git
synced 2026-04-29 18:19:44 -05:00
bugfix: wrong regex in the space-dot format (#1017)
The regex for the "space-dot" format was incorrect. When entering the amount on a schedule, the number was incorrectly read (12.34 became 1234.00) Strangely, it was not an issue with transactions...
This commit is contained in:
@@ -282,7 +282,7 @@ export function setNumberFormat({ format, hideFraction }) {
|
||||
break;
|
||||
case 'space-dot':
|
||||
locale = 'dje';
|
||||
regex = /[^-0-9,]/g;
|
||||
regex = /[^-0-9.]/g;
|
||||
separator = '.';
|
||||
break;
|
||||
case 'comma-dot':
|
||||
|
||||
6
upcoming-release-notes/1017.md
Normal file
6
upcoming-release-notes/1017.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
category: Bugfix
|
||||
authors: [TheTrueCaligari]
|
||||
---
|
||||
|
||||
Bugfix: amounts for schedules incorrectly read in 'space-dot' format.
|
||||
Reference in New Issue
Block a user