Skip to content

Commit

Permalink
docs: add DEPRECATED note
Browse files Browse the repository at this point in the history
  • Loading branch information
iamkun committed Jun 6, 2018
1 parent 392c035 commit d37f456
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/en/API-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,8 @@ dayjs().isAfter(dayjs()); // false

### Is Leap Year `.isLeapYear()`

**[DEPRECATED] in 1.7.0, use [`IsLeapYear plugin`](./Plugin.md#isleapyear) instead**

Returns a `boolean` indicating whether the `Dayjs`'s year is a leap year or not.

```js
Expand Down
2 changes: 2 additions & 0 deletions docs/ja/API-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -450,6 +450,8 @@ dayjs().isAfter(dayjs()); // false

#### Is Leap Year

**[DEPRECATED] in 1.7.0, use [`IsLeapYear plugin`](./Plugin.md#isleapyear) instead**

* Boolean を返します

その年がうるう年かどうかをチェックします。
Expand Down
2 changes: 2 additions & 0 deletions docs/ko/API-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,8 @@ dayjs().isAfter(dayjs()); // false

### Is Leap Year `.isLeapYear()`

**[DEPRECATED] in 1.7.0, use [`IsLeapYear plugin`](./Plugin.md#isleapyear) instead**

`Dayjs` 값이 윤년인지를 확인합니다. 반환 타입은 `boolean` 입니다.

```js
Expand Down
2 changes: 2 additions & 0 deletions docs/pt-br/API-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -428,6 +428,8 @@ dayjs().isAfter(dayjs()); // false

#### Ano Bissexto

**[DEPRECATED] in 1.7.0, use [`IsLeapYear plugin`](./Plugin.md#isleapyear) instead**

* retorna um Boolean

Se um ano é bissexto.
Expand Down
3 changes: 3 additions & 0 deletions docs/zh-cn/API-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,9 @@ dayjs().isAfter(Dayjs);
dayjs().isAfter(dayjs()); // false
```
#### 是否闰年

**[已废弃] 将在 1.7.0 废弃, 使用 [`IsLeapYear 插件`](./Plugin.md#isleapyear) 代替**

- return Boolean

是否闰年。
Expand Down

0 comments on commit d37f456

Please sign in to comment.