Commit Graph

257 Commits

Author SHA1 Message Date
Wei Zhu
064bfaf554 Add @types/prop-types 2018-08-07 21:09:05 +08:00
afc163
cc00ebe5e1 Change Transfer moving buttons order for convention
close #11269
2018-07-20 18:15:04 +08:00
afc163
8eb8c686ce Merge branch 'master' into feature-3.7.0 2018-07-11 22:21:01 +08:00
Wei Zhu
4b045fc43f Revert "docs: update moment locale usage"
This reverts commit 89228118af.

The original purpose to import locale from src is that some projects
adding `jsnext:main` to the `resolve.mainFields` config of webpack which leads
webpack load moment from `src/moment.js`. But import from `locale`
should works for most projects.
2018-07-11 15:17:15 +08:00
mofelee
e3ef74c3e7 fix "Cannot find module './locale'" bug 2018-07-11 14:39:06 +08:00
Daewoong Moon
52d736a0ee Added missing ko_KR locale 2018-07-10 20:58:30 +08:00
zombiej
11dba9c305 update snapshot 2018-06-28 17:12:16 +08:00
afc163
0ea8047546 test: update table snapshots 2018-06-27 19:49:58 +08:00
afc163
009ed08580 upgrade eslint-config-airbnb 2018-06-27 16:09:58 +08:00
afc163
9f16d066af Fix lint problems from eslint-config-airbnb@17 2018-06-22 21:05:13 +08:00
Wei Zhu
89228118af docs: update moment locale usage 2018-06-08 12:22:22 +08:00
afc163
cbff10db15 test: update snapshots 2018-05-25 14:25:26 +08:00
Ivan Trofimov
33c58a8ef6 Update ru_RU.tsx (#10616)
* Update locale-provider ru_RU and tests

* Update locale-provider ru_RU and tests: patch-2
2018-05-22 16:31:12 +08:00
Junbin Huang
3a3d550b54 chore: upgrade menu (#10305)
* chore: upgrade menu and select

* Add test case for coverage percent
2018-04-29 23:01:58 +08:00
afc163
9b64a778d0 demo: fix console warning 2018-04-15 15:13:59 +08:00
afc163
4486c569f2 demo: update localeProvider demo 2018-04-15 15:11:59 +08:00
afc163
e3446840fa Fix test case of LocaleProvider
which is broken by #10047

use constructor over componentDidMount
2018-04-15 15:09:13 +08:00
Zheeeng
08f5c27b0b Use componentDidMount to replace componentWillMount: componentWillMount is deprecating (#10047) 2018-04-14 13:37:24 +08:00
Wei Zhu
502e7df2e5 Update snapshot for React 16.3 2018-03-30 11:04:49 +08:00
Kenneth Luján Rosas
d7b44bda07 Fixes LocaleProvider moment usage (#9853) 2018-03-29 10:42:33 +08:00
gregahren
b6ce947894 Slovenian locale added (sl_SI) (#9724)
* Add sl_SI locale (Slovenian)

* fix lint issues
snapshot tests

* add description

* bump rc pagination to 1.16.1 which includes sl_SI(Slovenian) locale
then include it
2018-03-26 11:44:27 +08:00
afc163
ec6f370d8d update snapshot 2018-03-23 15:29:02 +08:00
Yunus EŞ
9413f20ef6 Pagination Turkish Update (#9679) 2018-03-23 14:21:32 +08:00
Wei Zhu
1c0b5ed21e Revert "Update snapshot"
This reverts commit 98356e87ff.
2018-03-21 12:01:58 +08:00
zhuyue
98356e87ff Update snapshot 2018-03-21 10:51:52 +08:00
afc163
8db3b1f46f update snapshot 2018-03-15 11:42:42 +08:00
诸岳
398788b2c9
Fix: import correct locale file from rc-calendar, close #9373 (#9613)
* fix: import correct locale file from rc-calendar, close #9373

* Update snapshot
2018-03-11 00:11:21 +08:00
Wei Zhu
c5fc656ec8 Fix date mocking
Close #9599

It's an interesting bug, the time we store in the snapshot is in the summertime when you run it in wintertime, it fails.
2018-03-10 17:25:28 +08:00
偏右
8226ede38e
Fix test case for new jsdom (#9527)
* Fix test case for new jsdom

* use setTimeout as raf in jest jsdom

* Fix cancelAnimationFrame

* Add comment for facebook/jest#5147

* longer timeout

* fix snap

* upgrade antd-tools
2018-03-06 21:21:01 +08:00
afc163
f27bc6bd9d fix snapshot 2018-02-09 17:07:33 +08:00
Wei Zhu
3b931e97c4 Merge branch 'master' into feature-3.2 2018-01-31 10:08:23 +08:00
Wei Zhu
1c27c28ba9 Fix Turkish locale 2018-01-29 11:13:55 +08:00
Wei Zhu
5950c09bf8 Update snapshot 2018-01-26 23:00:13 +08:00
Wei Zhu
5afb1a28b6 Merge branch 'master' into feature-3.2 2018-01-26 17:14:44 +08:00
niko
f2ba99978d
upgrade snapshots (#9127) 2018-01-25 18:24:59 +08:00
ahalimkara
937f249b38 Kurdish translation (#9064)
* Revert "Merge branch 'master' into feature-3.2"

This reverts commit b7901e541a, reversing
changes made to 7a7933038c.

* Revert "Revert "Merge branch 'master' into feature-3.2""

This reverts commit ebf5e4c4f0.

* Kurdish translation

* Update jest snapshot for ku-iq
2018-01-24 21:40:29 +08:00
Wei Zhu
a7b939db43 Set moment.locale to en if no locale code provide 2018-01-15 14:59:09 +08:00
Wei Zhu
96c312f8fb Revert "docs: Fix LocelProvider demo"
This reverts commit 6f9c8da502.
2018-01-15 14:59:09 +08:00
Wei Zhu
4f56b4d52d Fix error when locale is null 2018-01-14 01:30:21 +08:00
Wei Zhu
6f9c8da502 docs: Fix LocelProvider demo 2018-01-14 01:09:46 +08:00
Wei Zhu
7f5922b209
Lazy set moment locale (#8785) 2018-01-13 03:53:25 -06:00
afc163
df89715d5f update demo 2018-01-13 14:00:51 +08:00
Wei Zhu
5cda605d00 Fix date mock 2017-12-29 19:51:05 +08:00
Wei Zhu
8bd124b0e2 Remove empty test 2017-12-29 18:45:26 +08:00
Wei Zhu
b439ca7502 Improve LocaleProvider test 2017-12-29 18:44:19 +08:00
Wei Zhu
09ee79ec8c Fix indent 2017-12-29 18:18:55 +08:00
Wei Zhu
18ba398f95 docs: Improve LocalProvider document
Close #8691
2017-12-28 17:17:24 +08:00
afc163
790a21a4ee Fix snapshot 2017-12-19 19:33:44 +08:00
afc163
80686df38e update snapshot 2017-12-18 09:48:43 +08:00
konakona
b77adb352f Fix wrong translate (#8488) 2017-12-07 11:28:53 +08:00