fix: preserve negative money signs in analytics
This commit is contained in:
@@ -5,6 +5,7 @@ test('analytics parses Turkish grouped and decimal money without changing scale'
|
||||
assert.equal(parseTL('12.50 TL'),12.5);
|
||||
assert.equal(parseTL('1.234 TL'),1234);
|
||||
assert.equal(parseTL('1.234,50 TL'),1234.5);
|
||||
assert.equal(parseTL('-1.234,50 TL'),-1234.5);
|
||||
});
|
||||
test('analytics rejects impossible Turkish calendar dates instead of rolling them over',()=>{
|
||||
assert.equal(parseDateTR('31.02.2026'),null);
|
||||
|
||||
Reference in New Issue
Block a user