Skip to content

Commit

Permalink
docs: doc update
Browse files Browse the repository at this point in the history
  • Loading branch information
iamkun committed May 21, 2018
1 parent 84597c9 commit e11ba0e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/en/I18n.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ dayjs.locale(customizedLocaleObject) // use customize locale

#### Changing locales locally

* Returns CURRENT `Dayjs` object.
* Returns a new `Dayjs` object by switching to new locale.

Exactly the same as `dayjs#locale`, but only use locale in a specific instance.

Expand Down
4 changes: 2 additions & 2 deletions docs/zh-cn/I18n.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ dayjs.locale(customizedLocaleObject) // 使用自定义语言

* 改变全局语言并不会影响在此之前生成的实例

#### 改变局部语言
#### 改变当前实例的语言

* 返回 **当前** `Dayjs` 对象
* 改变语言并返回新的`Dayjs` 对象

用法与`dayjs#locale`一致, 但只影响当前实例的语言设置

Expand Down

0 comments on commit e11ba0e

Please sign in to comment.