Marcos Gil
3ada1aef83
feat(localize): date and number postProcessors
2020-11-16 17:44:00 +01:00
qa46hx
8ca71b8f06
fix(localize): do not parse non-existing dates
2020-11-03 15:06:49 +01:00
Thomas Allmer
618f269829
chore: enable webkit tests
...
Co-authored-by: Joren Broekema <Joren.Broekema@ing.com>
Co-authored-by: Yesil Ahmet <Yesil.Ahmet@ing.com>
Co-authored-by: Thijs Louisse <Thijs.Louisse@ing.com>
2020-10-27 14:05:32 +01:00
demeteren
7682e5208d
fix(localization): format negative values properly for Turkish locale
2020-10-12 09:26:51 +02:00
Joren Broekema
874ff48339
feat(form-core): form-core types
...
Co-authored-by: Thijs Louisse <Thijs.Louisse@ing.com>
2020-09-02 09:02:47 +02:00
Ahmet Yesil
9ecab4d5b2
chore: remove LionSingleton
2020-08-05 17:26:52 +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
Ashwani
cddd51adcb
fix(localize): format hungarian & bulgarian dates
...
- fix memoize function & correct computation of date format
- modify date format in bulgarian validation messages
BREAKING CHANGE: N
closes #540
2020-07-06 16:27:43 +02:00
Joren Broekema
92d85b567a
chore: fix failing tests
2020-06-30 17:24:19 +02:00
Thijs Louisse
271520d55c
feat(localize): support google translate
2020-06-08 14:46:33 +02:00
DemeterDimitri
89a84a8b29
fix(localization): force TR currency code at the end ( #641 )
2020-04-29 10:05:06 +02:00
Joren Broekema
a451d4fc8a
chore: apply prettier formatting changes
2020-04-29 10:05:06 +02: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
Joren Broekema
66d3d390ae
feat: remove all deprecations from lion
2019-11-13 11:00:48 +01:00
r4zorgeek
08a91291d9
fix(localize): unforce defaults when options are given
...
should not force defaults when at least one of the three date options is given (day, month, year).
also added test cases and storybook demo.
2019-10-23 15:50:49 +02: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
Erik Kroes
e60b819188
Merge pull request #303 from ing-bank/fix/normalize-date-in-validators
...
Fix/normalize date in validators
2019-10-07 14:00:39 +02:00
qa46hx
955e524ff2
chore(calendar): move normalizeDateTime to localize
2019-10-04 14:18:31 +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
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