Skip to content

Commit

Permalink
docs: add toc
Browse files Browse the repository at this point in the history
  • Loading branch information
iamkun committed Dec 13, 2018
1 parent d8fae84 commit 275aa06
Show file tree
Hide file tree
Showing 7 changed files with 85 additions and 1 deletion.
14 changes: 14 additions & 0 deletions docs/en/API-reference.md
Expand Up @@ -51,6 +51,8 @@ The `Dayjs` object is immutable, that is, all API operations that change the `Da
- [RelativeTime](#relativetime)
- [IsLeapYear](#isleapyear)
- [WeekOfYear](#weekofyear)
- [IsSameOrAfter](#issameorafter)
- [IsSameOrBefore](#issameorbefore)
- [IsBetween](#isbetween)

## Parsing
Expand Down Expand Up @@ -439,6 +441,18 @@ plugin [`IsLeapYear`](./Plugin.md#isleapyear)

plugin [`WeekOfYear`](./Plugin.md#weekofyear)

### IsSameOrAfter

`.isSameOrAfter` to check if a date is same of after another date

plugin [`IsSameOrAfter`](./Plugin.md#issameorafter)

### IsSameOrBefore

`.isSameOrBefore` to check if a date is same of before another date.

plugin [`IsSameOrBefore`](./Plugin.md#issameorbefore)

### IsBetween

`.isBetween` to check if a date is between two other dates
Expand Down
14 changes: 14 additions & 0 deletions docs/es-es/API-reference.md
Expand Up @@ -51,6 +51,8 @@ El objeto `Dayjs` es inmutable, por lo que toda operación de la API que altere
- [RelativeTime](#relativetime)
- [IsLeapYear](#isleapyear)
- [WeekOfYear](#weekofyear)
- [IsSameOrAfter](#issameorafter)
- [IsSameOrBefore](#issameorbefore)
- [IsBetween](#isbetween)

## Análisis
Expand Down Expand Up @@ -439,6 +441,18 @@ complemento [`IsLeapYear`](./Plugin.md#isleapyear)

complemento [`WeekOfYear`](./Plugin.md#weekofyear)

### IsSameOrAfter

`.isSameOrAfter` to check if a date is same of after another date

plugin [`IsSameOrAfter`](./Plugin.md#issameorafter)

### IsSameOrBefore

`.isSameOrBefore` to check if a date is same of before another date.

plugin [`IsSameOrBefore`](./Plugin.md#issameorbefore)

### IsBetween

`.isBetween` para comprobar si una fecha se encuentra entre otras dos fechas dadas
Expand Down
14 changes: 14 additions & 0 deletions docs/ja/API-reference.md
Expand Up @@ -48,6 +48,8 @@ Day.js は組み込みの `Date.prototype` を変更する代わりに `Dayjs`
* [RelativeTime](#relativetime)
* [IsLeapYear](#isleapyear)
* [WeekOfYear](#weekofyear)
* [IsSameOrAfter](#issameorafter)
* [IsSameOrBefore](#issameorbefore)
* [IsBetween](#isbetween)

---
Expand Down Expand Up @@ -509,6 +511,18 @@ plugin [`IsLeapYear`](./Plugin.md#isleapyear)

plugin [`WeekOfYear`](./Plugin.md#weekofyear)

### IsSameOrAfter

`.isSameOrAfter` to check if a date is same of after another date

plugin [`IsSameOrAfter`](./Plugin.md#issameorafter)

### IsSameOrBefore

`.isSameOrBefore` to check if a date is same of before another date.

plugin [`IsSameOrBefore`](./Plugin.md#issameorbefore)

### IsBetween

`.isBetween` to check if a date is between two other dates
Expand Down
14 changes: 14 additions & 0 deletions docs/ko/API-reference.md
Expand Up @@ -50,6 +50,8 @@ Day.js는 네이티브 `Date.prototype`을 수정하는 대신 `Dayjs` 오브젝
- [RelativeTime](#relativetime)
- [IsLeapYear](#isleapyear)
- [WeekOfYear](#weekofyear)
- [IsSameOrAfter](#issameorafter)
- [IsSameOrBefore](#issameorbefore)
- [IsBetween](#isbetween)

## Parsing
Expand Down Expand Up @@ -438,6 +440,18 @@ plugin [`IsLeapYear`](./Plugin.md#isleapyear)

plugin [`WeekOfYear`](./Plugin.md#weekofyear)

### IsSameOrAfter

`.isSameOrAfter` to check if a date is same of after another date

plugin [`IsSameOrAfter`](./Plugin.md#issameorafter)

### IsSameOrBefore

`.isSameOrBefore` to check if a date is same of before another date.

plugin [`IsSameOrBefore`](./Plugin.md#issameorbefore)

### IsBetween

`.isBetween` to check if a date is between two other dates
Expand Down
14 changes: 14 additions & 0 deletions docs/pt-br/API-reference.md
Expand Up @@ -51,6 +51,8 @@ O objeto `Dayjs` é imutável, ou seja, todas as operações da API que alteram
- [RelativeTime](#relativetime)
- [IsLeapYear](#isleapyear)
- [WeekOfYear](#weekofyear)
- [IsSameOrAfter](#issameorafter)
- [IsSameOrBefore](#issameorbefore)
- [IsBetween](#isbetween)

## Conversões
Expand Down Expand Up @@ -437,6 +439,18 @@ plugin [`IsLeapYear`](./Plugin.md#isleapyear)

plugin [`WeekOfYear`](./Plugin.md#weekofyear)

### IsSameOrAfter

`.isSameOrAfter` to check if a date is same of after another date

plugin [`IsSameOrAfter`](./Plugin.md#issameorafter)

### IsSameOrBefore

`.isSameOrBefore` to check if a date is same of before another date.

plugin [`IsSameOrBefore`](./Plugin.md#issameorbefore)

### IsBetween

`.isBetween` para verificar se uma data está entre duas outras datas
Expand Down
14 changes: 14 additions & 0 deletions docs/zh-cn/API-reference.md
Expand Up @@ -48,6 +48,8 @@
* [相对时间](#relativetime)
* [是否是闰年](#是否是闰年)
* [年中的第几周](#年中的第几周)
* [IsSameOrAfter](#issameorafter)
* [IsSameOrBefore](#issameorbefore)
* [是否之间](#isbetween)

---
Expand Down Expand Up @@ -390,6 +392,18 @@ dayjs.isDayjs(new Date()); // false

插件 [`WeekOfYear`](./Plugin.md#weekofyear)

### 是否相同或之后

`.isSameOrAfter` 返回一个时间和一个时间相同或在一个时间之后

plugin [`IsSameOrAfter`](./Plugin.md#issameorafter)

### 是否相同或之前

`.isSameOrBefore` 返回一个时间是否和一个时间相同或在一个时间之前

plugin [`IsSameOrBefore`](./Plugin.md#issameorbefore)

### 是否之间

`.isBetween` 返回一个时间是否介于两个时间之间
Expand Down
2 changes: 1 addition & 1 deletion docs/zh-cn/Plugin.md
Expand Up @@ -144,7 +144,7 @@ List of added formats:
| `BBBB` | 2561 | Full BE Year (Year + 543) |
| `BB` | 61 | 2-digit of BE Year |

### 年中的第几周
### WeekOfYear
- WeekOfYear 增加了 `.week()` API 返回一个 `number` 来表示 `Dayjs` 的日期是年中第几周.

```javascript
Expand Down

0 comments on commit 275aa06

Please sign in to comment.