Skip to content
Snippets Groups Projects
Unverified Commit 655b6779 authored by TheTrueCaligari's avatar TheTrueCaligari Committed by GitHub
Browse files

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...
parent 8faa7bd6
No related branches found
No related tags found
No related merge requests found
......@@ -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':
......
---
category: Bugfix
authors: [TheTrueCaligari]
---
Bugfix: amounts for schedules incorrectly read in 'space-dot' format.
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment