Commit graph

25 commits

Author SHA1 Message Date
Joren Broekema
85beb18e26 fix(localize): use minus sign unicode instead of hypen-minus 2019-09-19 16:01:04 +02:00
Joren Broekema
c1e96f79e2 chore(localize): deprecate language-only locales 2019-08-23 16:43:42 +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
Mikhail Bashkirov
e76fa4c2dd chore(localize): fix typo in test 2019-07-31 11:11:21 +02:00
Mikhail Bashkirov
3b889e31e1 fix: public test-helpers 2019-07-30 15:50:53 +02:00
Mikhail Bashkirov
6321777ec7 chore(localize): remove side effects between tests 2019-07-18 11:52:50 +02:00
Mikhail Bashkirov
270de8a296 fix(localize): set default fallback locale "en-GB" (fix #152) 2019-07-15 15:07:28 +02:00
Mikhail Bashkirov
e7ea9cb6f4 fix(localize): support fallback locale 2019-07-15 15:03:44 +02:00
Mikhail Bashkirov
18589f4be7 fix(localize): observe <html lang> attribute 2019-07-09 17:06:59 +02:00
Mikhail Bashkirov
3115c50d59 fix(localize): don't fire localeChanged event if set to the same locale 2019-07-09 09:23:47 +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
Lars den Bakker
2e76ca00b9 feat(localize): allow custom locale when loading namespaces 2019-06-05 16:09:55 +02:00
Pavlo Kozlov
bc8a36d36f chore(localize): add throwing an exception for missing namespace 2019-05-31 12:02:11 +02:00
Thijs Louisse
144ebceb37 feat(localize): allow long/short/narrow param getMonthNames 2019-05-16 10:39:57 +02:00
Thijs Louisse
6cfa301d1c fix(localize): empty dates should be formatted as empty string 2019-05-16 10:39:57 +02:00
Mikhail Bashkirov
043106c1cf feat(localize): add reusable generators for month and weekday names 2019-05-13 14:08:11 +02:00
Mikhail Bashkirov
b2cfb7bfc3 chore(wallaby.js): fix test issues 2019-05-08 10:22:17 +02:00
Mikhail Bashkirov
aafe3d9428 chore(localize): split date related functions into their own files 2019-04-29 11:13:01 +02:00
Thomas Allmer
8d96f84090 fix: update storybook/linting; adjust story labels, eslint ignores 2019-04-28 15:02:31 +02:00
Thomas Allmer
cbbf0d49fb fix(localize): work with dates of different timezones 2019-04-26 14:06:15 +02:00
Thomas Allmer
ec8da8f12c feat: release inital public lion version
Co-authored-by: Mikhail Bashkirov <mikhail.bashkirov@ing.com>
Co-authored-by: Thijs Louisse <thijs.louisse@ing.com>
Co-authored-by: Joren Broekema <joren.broekema@ing.com>
Co-authored-by: Gerjan van Geest <gerjan.van.geest@ing.com>
Co-authored-by: Erik Kroes <erik.kroes@ing.com>
Co-authored-by: Lars den Bakker <lars.den.bakker@ing.com>
2019-04-26 10:37:57 +02:00