Marcos Gil
3ada1aef83
feat(localize): date and number postProcessors
2020-11-16 17:44:00 +01:00
demeteren
7682e5208d
fix(localization): format negative values properly for Turkish locale
2020-10-12 09:26:51 +02:00
Thomas Allmer
de0e0d52b5
chore: remove not needed index.d.ts files, minor type improvements
2020-09-15 10:48:34 +02:00
Joren Broekema
b01cacbded
fix(localize): align on common Intl type and reduce duplicates
2020-09-15 10:48:34 +02:00
Joren Broekema
d9961a0a76
chore: fix type problems before release
2020-08-10 15:35:17 +02:00
Joren Broekema
09d9675963
feat(localize): add types to localize
...
Co-authored-by: narzac <narzac@gmail.com>
2020-08-03 17:00:26 +02:00
DemeterDimitri
89a84a8b29
fix(localization): force TR currency code at the end ( #641 )
2020-04-29 10:05:06 +02:00
DemeterDimitri
1bec11a267
fix(input-amount): normalize added for currency label ( #618 )
2020-03-04 17:33:09 +01:00
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
edd7396e15
fix(input-amount): use minus sign unicode instead of hypen-minus
2019-09-20 10:13:06 +02:00
Joren Broekema
85beb18e26
fix(localize): use minus sign unicode instead of hypen-minus
2019-09-19 16:01:04 +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
Thijs Louisse
c151f01b0b
fix(localize): for bg-BG locale, correct Intl output for group separator
2019-08-07 13:21:26 +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
0afb0e1272
fix(localize): remove unnecessary normalization for Belgium
...
Belgium does not need to be normalized always (e.g. not in "fr-BE").
But Dutch language does need normalization always, because this is where Intl really makes it wrong, both for "nl-Nl" and "nl-BE".
2019-06-27 10:46:39 +02:00
Mikhail Bashkirov
c60b9d81c8
chore(localize): split number related functions into their own files
2019-06-26 17:49:28 +02:00