Commit graph

14 commits

Author SHA1 Message Date
Sandipan Basak
a9ea72b7df fix(localize): force symbols for locale 'en-AU' (#619) 2020-03-04 17:33:09 +01:00
demeteren
8fb3b23755 fix(localize): if locale is set to tr, currency TRY should display TL 2020-02-03 10:44:35 +03:00
qa46hx
367e2f4f96 fix(localize): allow negative bulgarian numbers 2020-01-07 11:06:25 +01:00
Thijs Louisse
708b6f991d feat(localize): add getCurrencyName 2019-11-27 13:40:15 +01:00
qa46hx
1f4025032f fix(localize): add tests for percent in formatNumberToParts 2019-10-09 09:06:49 +02:00
qa46hx
093cfa090a fix(localize): use option.locale to get separator in formatNumberToParts 2019-10-09 09:05:07 +02:00
qa46hx
20b77a40b1 fix(localize): allow multiple characters for currency symbols 2019-09-30 09:18:49 +02:00
Joren Broekema
85beb18e26 fix(localize): use minus sign unicode instead of hypen-minus 2019-09-19 16:01:04 +02:00
Joren Broekema
0c9c116e46 chore(localize): add test to check for BG space separator 2019-08-16 11:28:38 +02:00
Jose C Perea
b0d6f496f8 fix(localize): update the way to obtain the group separator for a number
four digit numbers can be written without separator, so it would be
safer to obtain the separator by formatting a five digit number. The bug
was found with the locale 'es-ES', where the format returned for '1000'
was '1000' instead of the expected '1.000'. We add the specific expect
clause on the test for it.

 On branch fix/numberGroupSeparator
 Changes to be committed:
	modified:   packages/localize/src/number/getGroupSeparator.js
	modified:   packages/localize/test/number/getGroupSeparator.test.js
2019-08-13 19:04:31 +02:00
bverhoef
8fb70c2080 fix(localize): return sign to the front of the currency formatted value in Dutch 2019-06-27 10:46:39 +02:00
Mikhail Bashkirov
86c9824f07 chore(localize): make number formatting tests more scalable 2019-06-27 10:39:08 +02:00
Mikhail Bashkirov
2f352008b1 chore(localize): make currency tests more readable 2019-06-26 18:11:47 +02:00
Mikhail Bashkirov
c60b9d81c8 chore(localize): split number related functions into their own files 2019-06-26 17:49:28 +02:00