lion/packages/localize/src/number
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
..
emptyStringWhenNumberNan.js chore(localize): split number related functions into their own files 2019-06-26 17:49:28 +02:00
forceAddGroupSeparators.js chore(localize): split number related functions into their own files 2019-06-26 17:49:28 +02:00
forceCurrencyToEnd.js chore(localize): split number related functions into their own files 2019-06-26 17:49:28 +02:00
forceNormalSpaces.js chore(localize): split number related functions into their own files 2019-06-26 17:49:28 +02:00
forceSpaceBetweenCurrencyCodeAndNumber.js chore(localize): split number related functions into their own files 2019-06-26 17:49:28 +02:00
forceSpaceInsteadOfZeroForGroup.js fix(localize): for bg-BG locale, correct Intl output for group separator 2019-08-07 13:21:26 +02:00
forceYenSymbol.js chore(localize): split number related functions into their own files 2019-06-26 17:49:28 +02:00
formatNumber.js chore(localize): split number related functions into their own files 2019-06-26 17:49:28 +02:00
formatNumberToParts.js chore(localize): split number related functions into their own files 2019-06-26 17:49:28 +02:00
getDecimalSeparator.js chore(localize): split number related functions into their own files 2019-06-26 17:49:28 +02:00
getFractionDigits.js chore(localize): split number related functions into their own files 2019-06-26 17:49:28 +02:00
getGroupSeparator.js fix(localize): update the way to obtain the group separator for a number 2019-08-13 19:04:31 +02:00
getLocale.js chore(localize): split number related functions into their own files 2019-06-26 17:49:28 +02:00
normalizeIntl.js fix(localize): for bg-BG locale, correct Intl output for group separator 2019-08-07 13:21:26 +02:00
normalSpaces.js chore(localize): split number related functions into their own files 2019-06-26 17:49:28 +02:00
roundNumber.js chore(localize): split number related functions into their own files 2019-06-26 17:49:28 +02:00