Commit graph

6 commits

Author SHA1 Message Date
Joren Broekema
b01cacbded fix(localize): align on common Intl type and reduce duplicates 2020-09-15 10:48:34 +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
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
4500557f78 chore(localize): rename normalizeDate to normalizeIntlDate 2019-10-04 14:27:10 +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
aafe3d9428 chore(localize): split date related functions into their own files 2019-04-29 11:13:01 +02:00