Skip to content

Commit

Permalink
docs: update isBetween inclusivity docs
Browse files Browse the repository at this point in the history
  • Loading branch information
iamkun committed Feb 11, 2019
1 parent af2f4f1 commit 85396c2
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/en/Plugin.md
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,8 @@ import isBetween from "dayjs/plugin/isBetween";
dayjs.extend(isBetween);

dayjs("2010-10-20").isBetween("2010-10-19", dayjs("2010-10-25"), "year");
dayjs('2016-10-30').isBetween('2016-01-01', '2016-10-30', null, '[)');
// '[' indicates inclusion, '(' indicates exclusion
```

### DayOfYear
Expand Down
2 changes: 2 additions & 0 deletions docs/es-es/Plugin.md
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,8 @@ import isBetween from "dayjs/plugin/isBetween";
dayjs.extend(isBetween);

dayjs("2010-10-20").isBetween("2010-10-19", dayjs("2010-10-25"), "year");
dayjs('2016-10-30').isBetween('2016-01-01', '2016-10-30', null, '[)');
// '[' indicates inclusion, '(' indicates exclusion
```

### DayOfYear
Expand Down
2 changes: 2 additions & 0 deletions docs/ja/Plugin.md
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,8 @@ import isBetween from 'dayjs/plugin/isBetween'
dayjs.extend(isBetween)

dayjs('2010-10-20').isBetween('2010-10-19', dayjs('2010-10-25'), 'year');
dayjs('2016-10-30').isBetween('2016-01-01', '2016-10-30', null, '[)');
// '[' indicates inclusion, '(' indicates exclusion
```
### DayOfYear

Expand Down
2 changes: 2 additions & 0 deletions docs/ko/Plugin.md
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,8 @@ import isBetween from 'dayjs/plugin/isBetween'
dayjs.extend(isBetween)

dayjs('2010-10-20').isBetween('2010-10-19', dayjs('2010-10-25'), 'year');
dayjs('2016-10-30').isBetween('2016-01-01', '2016-10-30', null, '[)');
// '[' indicates inclusion, '(' indicates exclusion
```

### DayOfYear
Expand Down
2 changes: 2 additions & 0 deletions docs/pt-br/Plugin.md
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,8 @@ import isBetween from 'dayjs/plugin/isBetween'
dayjs.extend(isBetween)

dayjs('2010-10-20').isBetween('2010-10-19', dayjs('2010-10-25'), 'year');
dayjs('2016-10-30').isBetween('2016-01-01', '2016-10-30', null, '[)');
// '[' indicates inclusion, '(' indicates exclusion
```
### DayOfYear

Expand Down
2 changes: 2 additions & 0 deletions docs/zh-cn/Plugin.md
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,8 @@ import isBetween from 'dayjs/plugin/isBetween'
dayjs.extend(isBetween)

dayjs('2010-10-20').isBetween('2010-10-19', dayjs('2010-10-25'), 'year');
dayjs('2016-10-30').isBetween('2016-01-01', '2016-10-30', null, '[)');
// '[' 包含, '(' 不包含
```

### DayOfYear
Expand Down

0 comments on commit 85396c2

Please sign in to comment.