Skip to content

Commit

Permalink
update README doc
Browse files Browse the repository at this point in the history
  • Loading branch information
hustcc committed Sep 11, 2016
1 parent 6cc5b6a commit 07204db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ You can change the locale in the constructor or use the `setLocale` method;
```js
var timeago = timeago(null, 'zh_CN');
// or
timeago.setLocale('zh_CN');
timeago().setLocale('zh_CN');
```

**5. Register local language**
Expand Down
2 changes: 1 addition & 1 deletion README_zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ timeago.format('2016-06-12', 'zh_CN');
```js
var timeago = timeago(null, 'zh_CN');
// or
timeago.setLocale('zh_CN');
timeago().setLocale('zh_CN');
```

**5. 注册本地语言**
Expand Down

0 comments on commit 07204db

Please sign in to comment.