Skip to content

Commit

Permalink
docs: update week start docs
Browse files Browse the repository at this point in the history
close #215 close #352
  • Loading branch information
iamkun committed Feb 5, 2019
1 parent 5b03412 commit ca49e7c
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docs/en/API-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ dayjs().subtract(7, "year");
Returns a cloned `Dayjs` set to the start of the specified unit of time.

```js
dayjs().startOf("week");
dayjs().startOf("week"); // Depends on `weekStart` in locale
```

### End of Time `.endOf(unit: string)`
Expand Down
2 changes: 1 addition & 1 deletion docs/es-es/API-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ dayjs().subtract(7, "year");
Devuelve un nuevo objeto `Dayjs`, resultante de ajustar el actual al principio de la unidad de tiempo indicada.

```js
dayjs().startOf("week");
dayjs().startOf("week"); // Depends on `weekStart` in locale
```

### Fin de `.endOf(unit: string)`
Expand Down
2 changes: 1 addition & 1 deletion docs/ja/API-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ Returns a new `Dayjs` object by by setting it to the start of a unit of time.

```js
dayjs().startOf((unit: String));
dayjs().startOf('year');
dayjs().startOf('week'); // Depends on `weekStart` in locale
```

#### End of Time
Expand Down
2 changes: 1 addition & 1 deletion docs/ko/API-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ dayjs().subtract(7, 'year');
특정 시간 단위의 시작 시점에 대한 시간을 `Dayjs` 오브젝트 복제본으로 반환합니다.

```js
dayjs().startOf('week');
dayjs().startOf('week'); // Depends on `weekStart` in locale
```

### End of Time `.endOf(unit: string)`
Expand Down
2 changes: 1 addition & 1 deletion docs/pt-br/API-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ dayjs().subtract(7, 'year');
Retorna um objeto `Dayjs` clonado definido com o começo da unidade de tempo especificada.

```js
dayjs().startOf('week');
dayjs().startOf('week'); // Depends on `weekStart` in locale
```

### Fim do Tempo `.endOf(unit: string)`
Expand Down
2 changes: 1 addition & 1 deletion docs/zh-cn/API-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ dayjs().subtract(7, 'year');
返回当前时间的开头时间的 `Dayjs()` 对象,如月份的第一天。
```js
dayjs().startOf(unit : String);
dayjs().startOf('year');
dayjs().startOf('week'); // 取决于 locale 文件里 `weekStart` 的值
```
#### 末尾时间
返回当前时间的末尾时间的 `Dayjs()` 对象,如月份的最后一天。
Expand Down

0 comments on commit ca49e7c

Please sign in to comment.