Skip to content

Commit

Permalink
docs: update doc plugin WeekOfYear
Browse files Browse the repository at this point in the history
  • Loading branch information
iamkun committed Feb 24, 2019
1 parent 9cea573 commit a0d4c6e
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/en/Plugin.md
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,7 @@ import weekOfYear from 'dayjs/plugin/weekOfYear'
dayjs.extend(weekOfYear)

dayjs('2018-06-27').week() // 26
dayjs('2018-06-27').week(5) // set week
```

### QuarterOfYear
Expand Down
1 change: 1 addition & 0 deletions docs/es-es/Plugin.md
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,7 @@ import weekOfYear from 'dayjs/plugin/weekOfYear'
dayjs.extend(weekOfYear)

dayjs('2018-06-27').week() // 26
dayjs('2018-06-27').week(5) // set week
```

### QuarterOfYear
Expand Down
1 change: 1 addition & 0 deletions docs/ja/Plugin.md
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,7 @@ import weekOfYear from 'dayjs/plugin/weekOfYear'
dayjs.extend(weekOfYear)

dayjs('06/27/2018').week() // 26
dayjs('2018-06-27').week(5) // set week
```

### QuarterOfYear
Expand Down
1 change: 1 addition & 0 deletions docs/ko/Plugin.md
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,7 @@ import weekOfYear from 'dayjs/plugin/weekOfYear'
dayjs.extend(weekOfYear)

dayjs('06/27/2018').week() // 26
dayjs('2018-06-27').week(5) // set week
```

### QuarterOfYear
Expand Down
1 change: 1 addition & 0 deletions docs/pt-br/Plugin.md
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,7 @@ import weekOfYear from 'dayjs/plugin/weekOfYear'
dayjs.extend(weekOfYear)

dayjs('06/27/2018').week() // 26
dayjs('2018-06-27').week(5) // set week
```

### QuarterOfYear
Expand Down
3 changes: 2 additions & 1 deletion docs/zh-cn/Plugin.md
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,7 @@ import weekOfYear from 'dayjs/plugin/weekOfYear'
dayjs.extend(weekOfYear)

dayjs('06/27/2018').week() // 26
dayjs('2018-06-27').week(5) // 设置周
```

### QuarterOfYear
Expand Down Expand Up @@ -267,7 +268,7 @@ dayjs('2018 五月 15', 'YYYY MMMM DD', 'zh_cn')

#### List of all available format tokens

| Format | Output | Description |
| 格式 | 输出 | 描述 |
| ------ | ---------------- | --------------------------------- |
| `YY` | 18 | Two-digit year |
| `YYYY` | 2018 | Four-digit year |
Expand Down

0 comments on commit a0d4c6e

Please sign in to comment.