Skip to content

Commit

Permalink
feat: make default locale to enUS (ant-design#7553)
Browse files Browse the repository at this point in the history
* feat: make default locale to enUS

* test: fix CI

* docs: update getting started
  • Loading branch information
benjycui authored and afc163 committed Sep 26, 2017
1 parent 4719309 commit 829b5f8
Show file tree
Hide file tree
Showing 47 changed files with 172,636 additions and 812 deletions.
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ env:
- TEST_TYPE=test:dom
- TEST_TYPE=test:node

before_script:
- export TZ=China/Beijing
- date

script:
- |
if [ "$TEST_TYPE" = lint ]; then
Expand Down
2 changes: 1 addition & 1 deletion components/_util/getLocale.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export function getLocaleCode(context) {
const localeCode = context.antLocale && context.antLocale.locale;
// Had use LocaleProvide but didn't set locale
if (context.antLocale && context.antLocale.exist && !localeCode) {
return 'zh-cn';
return 'en-us';
}
return localeCode;
}
Loading

0 comments on commit 829b5f8

Please sign in to comment.